Fix default CSP

This commit is contained in:
Jake Howard 2022-10-31 09:57:49 +00:00
parent dd84f03bee
commit 5a8116ec22
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

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