fix: serve collected static files with whitenoise
All checks were successful
CI/CD Pipeline / Quality Gate (push) Successful in 37s
CI/CD Pipeline / Build and Push Images (push) Successful in 18s
CI/CD Pipeline / Internal Notify (push) Successful in 0s
CI/CD Pipeline / Deploy Dev via Compose (push) Successful in 32s

This commit is contained in:
2026-07-16 15:42:35 +02:00
parent 007cecc8d5
commit 63f59b3799
3 changed files with 33 additions and 0 deletions

View File

@@ -284,6 +284,7 @@ USE_TZ = True
STATIC_URL = "/static/"
STATIC_ROOT = PROJECT_ROOT / "staticfiles"
STATICFILES_DIRS = [BASE_DIR / "static"]
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
# Media files
MEDIA_URL = "/media/"