Feb 27 2026: fix upload size

This commit is contained in:
2026-02-27 11:35:58 -05:00
parent 0ff27f2b06
commit 64445eb793
3 changed files with 119 additions and 1 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ class Config:
# ── File uploads ────────────────────────────────────────────────────────
UPLOAD_FOLDER = os.path.join(basedir, 'app/static/uploads')
MAX_CONTENT_LENGTH = 16 * 1024 * 1024 # 16 MB
MAX_CONTENT_LENGTH = 50 * 1024 * 1024 # 16 MB
ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif'}
# ── Session / cookies ───────────────────────────────────────────────────