Fix CSP mistake from 6 years ago.

https://content-security-policy.com/unsafe-inline/
This commit is contained in:
Darren Nathanael 2023-11-16 18:29:54 -06:00 committed by GitHub
parent c5e519a3ef
commit 83edabf4fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,8 +116,8 @@ SECURE_BROWSER_XSS_FILTER = True
SECURE_CONTENT_TYPE_NOSNIFF = True
CSP_DEFAULT_SRC = ("'none'",)
CSP_SCRIPT_SRC = ("'self'", "'unsafe-inline'")
CSP_STYLE_SRC = ("'self'", "'unsafe-inline'")
CSP_SCRIPT_SRC = ("'self'",)
CSP_STYLE_SRC = ("'self'",)
LOGGING = {
"version": 1,