fix(limit): change upload limit to 200MB

This commit is contained in:
OpenCode Bot
2026-04-30 21:09:52 +08:00
parent 48a2241700
commit a47b336912

View File

@@ -5,8 +5,6 @@ BASE_DIR = os.path.abspath(os.path.dirname(__file__))
SECRET_KEY = os.environ.get('SECRET_KEY', 'dev-secret-key-change-in-production')
UPLOAD_FOLDER = os.path.join(BASE_DIR, 'uploads')
DATABASE = os.path.join(BASE_DIR, 'files.db')
# Max request body size for uploads: 200 MB
# This enforces the maximum file size that can be uploaded via the service.
MAX_CONTENT_LENGTH = 200 * 1024 * 1024
EXPIRY_OPTIONS = {