ignore .git directories in uploads
@@ -18,6 +18,8 @@ module.exports = FileTypeManager =
IGNORE_FILENAMES : [
"__MACOSX"
+ ".git"
+ ".gitignore"
]
MAX_TEXT_FILE_SIZE: 1 * 1024 * 1024 # 1 MB