1
0
Fork 0
mirror of https://github.com/Findus23/RPGnotes.git synced 2024-09-19 15:43:45 +02:00
This commit is contained in:
Lukas Winkler 2021-09-11 19:23:04 +02:00
parent 991ec9b372
commit 4c75aa8663
Signed by: lukas
GPG key ID: 54DE4D798D244853

View file

@ -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