Increased ebook upload limit to 50 MB
All checks were successful
Build and push Docker image / build (push) Successful in 13s
Test / test (push) Successful in 15s

This commit is contained in:
marwin 2026-04-04 20:48:18 +02:00
parent 2ba613fdd8
commit 4274f49971

View file

@ -32,10 +32,10 @@ INSTALLED_APPS = [
'gpodder',
]
EBOOK_MAX_BYTES = 10 * 1024 * 1024 # 10 MB
EBOOK_MAX_BYTES = 50 * 1024 * 1024 # 50 MB
# Encrypted uploads are base64-encoded (~33% overhead) so allow ~25 MB body
DATA_UPLOAD_MAX_MEMORY_SIZE = 25 * 1024 * 1024
# Encrypted uploads are base64-encoded (~33% overhead) so allow ~75 MB body
DATA_UPLOAD_MAX_MEMORY_SIZE = 75 * 1024 * 1024
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',