Fix default CSP
This commit is contained in:
parent
dd84f03bee
commit
5a8116ec22
1 changed files with 3 additions and 0 deletions
|
@ -412,6 +412,9 @@ PERMISSIONS_POLICY: dict[str, list] = {
|
||||||
"usb": [],
|
"usb": [],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Disable default CSP which blocks all remote content
|
||||||
|
CSP_DEFAULT_SRC = None
|
||||||
|
|
||||||
if not DEBUG:
|
if not DEBUG:
|
||||||
SECURE_HSTS_SECONDS = 2592000 # 30 days
|
SECURE_HSTS_SECONDS = 2592000 # 30 days
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue