fix: relax whiteNoise manifest strictness
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
SECRET_KEY=replace-me
|
||||
DEBUG=false
|
||||
LOG_LEVEL=info
|
||||
WHITENOISE_MANIFEST_STRICT=false
|
||||
ALLOWED_HOSTS=example.com,www.example.com
|
||||
CSRF_TRUSTED_ORIGINS=https://example.com,https://www.example.com
|
||||
USE_X_FORWARDED_HOST=true
|
||||
|
||||
@@ -265,7 +265,7 @@ USE_TZ = True
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/5.2/howto/static-files/
|
||||
|
||||
STATIC_URL = 'static/'
|
||||
STATIC_URL = '/static/'
|
||||
|
||||
# Additional locations of static files
|
||||
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
|
||||
# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field
|
||||
|
||||
|
||||
Reference in New Issue
Block a user