Spaces:
Sleeping
Sleeping
Commit ·
6b521f9
1
Parent(s): ff50748
Fix bug: allow .gitkeep for folder creation marker
Browse files- server/config.py +1 -1
server/config.py
CHANGED
|
@@ -25,7 +25,7 @@ MAX_CONTENT_LENGTH = 50 * 1024 * 1024 # 50MB max file size
|
|
| 25 |
ALLOWED_EXTENSIONS = {
|
| 26 |
'txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif', 'doc', 'docx',
|
| 27 |
'xls', 'xlsx', 'ppt', 'pptx', 'zip', 'rar', 'json', 'xml',
|
| 28 |
-
'csv', 'md', 'py', 'js', 'html', 'css', 'yml', 'yaml'
|
| 29 |
}
|
| 30 |
|
| 31 |
# Security
|
|
|
|
| 25 |
ALLOWED_EXTENSIONS = {
|
| 26 |
'txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif', 'doc', 'docx',
|
| 27 |
'xls', 'xlsx', 'ppt', 'pptx', 'zip', 'rar', 'json', 'xml',
|
| 28 |
+
'csv', 'md', 'py', 'js', 'html', 'css', 'yml', 'yaml', 'gitkeep'
|
| 29 |
}
|
| 30 |
|
| 31 |
# Security
|