mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
Fix CSP mistake from 6 years ago.
https://content-security-policy.com/unsafe-inline/
This commit is contained in:
parent
c5e519a3ef
commit
83edabf4fd
1 changed files with 2 additions and 2 deletions
|
@ -116,8 +116,8 @@ SECURE_BROWSER_XSS_FILTER = True
|
||||||
SECURE_CONTENT_TYPE_NOSNIFF = True
|
SECURE_CONTENT_TYPE_NOSNIFF = True
|
||||||
|
|
||||||
CSP_DEFAULT_SRC = ("'none'",)
|
CSP_DEFAULT_SRC = ("'none'",)
|
||||||
CSP_SCRIPT_SRC = ("'self'", "'unsafe-inline'")
|
CSP_SCRIPT_SRC = ("'self'",)
|
||||||
CSP_STYLE_SRC = ("'self'", "'unsafe-inline'")
|
CSP_STYLE_SRC = ("'self'",)
|
||||||
|
|
||||||
LOGGING = {
|
LOGGING = {
|
||||||
"version": 1,
|
"version": 1,
|
||||||
|
|
Loading…
Reference in a new issue