Преглед изворни кода

ignore .gitignore files in uploads too

Brian Gough пре 9 година
родитељ
комит
290361dc72
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      services/web/app/coffee/Features/Uploads/FileTypeManager.coffee

+ 1 - 0
services/web/app/coffee/Features/Uploads/FileTypeManager.coffee

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