feat: разрешены файлы сметных программ (.gge, .esw, .ges, .smr, .smt) и архивы
ГРАНД-Смета (.gge, .esw), Smeta.RU (.smr, .smt), плюс .zip/.rar/.7z Обновлены все 4 файла с ALLOWED_EXTENSIONS. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -198,7 +198,7 @@ async def upload(request: Request, file: UploadFile):
|
||||
if not is_allowed_file(safe_name):
|
||||
raise HTTPException(
|
||||
400,
|
||||
f"File type not allowed. Allowed: xlsx, docx, pdf, csv, txt, xml, json, yaml",
|
||||
f"File type not allowed. Allowed: xlsx, xls, docx, pdf, csv, txt, xml, json, yaml, gge, esw, zip",
|
||||
)
|
||||
|
||||
chunks = []
|
||||
|
||||
Reference in New Issue
Block a user