Merge pull request #67 from sharelatex/bg-ignore-git-in-uploads

ignore .git directories in uploads
This commit is contained in:
Brian Gough 2017-10-18 13:11:46 +01:00 committed by GitHub
commit 05ee2a5244

View file

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