fix: relax whiteNoise manifest strictness
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s

This commit is contained in:
2026-04-21 12:19:49 +02:00
parent f73e6d607b
commit 78f3e0f184
2 changed files with 5 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
SECRET_KEY=replace-me SECRET_KEY=replace-me
DEBUG=false DEBUG=false
LOG_LEVEL=info LOG_LEVEL=info
WHITENOISE_MANIFEST_STRICT=false
ALLOWED_HOSTS=example.com,www.example.com ALLOWED_HOSTS=example.com,www.example.com
CSRF_TRUSTED_ORIGINS=https://example.com,https://www.example.com CSRF_TRUSTED_ORIGINS=https://example.com,https://www.example.com
USE_X_FORWARDED_HOST=true USE_X_FORWARDED_HOST=true

View File

@@ -265,7 +265,7 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images) # Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/5.2/howto/static-files/ # https://docs.djangoproject.com/en/5.2/howto/static-files/
STATIC_URL = 'static/' STATIC_URL = '/static/'
# Additional locations of static files # Additional locations of static files
STATICFILES_DIRS = [ STATICFILES_DIRS = [
@@ -289,6 +289,9 @@ STORAGES = {
}, },
} }
# Keep the app serving even if a deployment has a stale or incomplete manifest.
WHITENOISE_MANIFEST_STRICT = env_bool("WHITENOISE_MANIFEST_STRICT", False)
# Default primary key field type # Default primary key field type
# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field # https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field