mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-19 15:43:45 +02:00
fix csp
This commit is contained in:
parent
991ec9b372
commit
4c75aa8663
1 changed files with 1 additions and 0 deletions
|
@ -191,6 +191,7 @@ ACCOUNT_ACTIVATION_DAYS = 7 # One-week activation window
|
|||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||
|
||||
CSP_DEFAULT_SRC = ["'self'", 'data:']
|
||||
CSP_SCRIPT_SRC = ["'self'"]
|
||||
CSP_STYLE_SRC = ["'self'", "'unsafe-inline'"]
|
||||
if SENTRY_CSP_REPORT_URI:
|
||||
CSP_REPORT_URL = SENTRY_CSP_REPORT_URI
|
||||
|
|
Loading…
Reference in a new issue