mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 05:05:27 -05:00
Merge pull request #67 from sharelatex/bg-ignore-git-in-uploads
ignore .git directories in uploads
This commit is contained in:
commit
05ee2a5244
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ module.exports = FileTypeManager =
|
||||||
|
|
||||||
IGNORE_FILENAMES : [
|
IGNORE_FILENAMES : [
|
||||||
"__MACOSX"
|
"__MACOSX"
|
||||||
|
".git"
|
||||||
|
".gitignore"
|
||||||
]
|
]
|
||||||
|
|
||||||
MAX_TEXT_FILE_SIZE: 1 * 1024 * 1024 # 1 MB
|
MAX_TEXT_FILE_SIZE: 1 * 1024 * 1024 # 1 MB
|
||||||
|
|
Loading…
Reference in a new issue