Update settings.py

This commit is contained in:
cryptomorpheuss 2023-10-10 23:08:05 -03:00 committed by GitHub
parent 0980899e2e
commit 594ead1b4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,13 +115,13 @@ USE_L10N = True
USE_TZ = True
# Security policy
CSP_DEFAULT_SRC = ("'self'")
CSP_DEFAULT_SRC = ("'self'", 'https://cdn.plot.ly')
CSP_IMG_SRC = ("'self'", 'data: w3.org/svg/2000','https://content-api.changenow.io/', 'https://cdn.plot.ly')
CSP_STYLE_SRC = ("'unsafe-inline'",'https://site-assets.fontawesome.com', 'https://cdn.plot.ly',"'self'" )
CSP_FONT_SRC = ('http://site-assets.fontawesome.com',"'self'", 'https://cdn.plot.ly')
CSP_SCRIPT_SRC = ("'self'", 'https://cdn.plot.ly')
CSP_FRAME_ANCESTORS = ("'self'",'https://trocador.app', 'http://127.0.0.1')
CSP_FRAME_SRC = ("'self'", '*')
CSP_FRAME_ANCESTORS = ("'self'",'https://trocador.app', 'http://127.0.0.1', 'https://cdn.plot.ly')
CSP_FRAME_SRC = ("'self'", '*', 'https://cdn.plot.ly')
#CSRF_COOKIE_SAMESITE = 'None'
PERMISSIONS_POLICY = {
"accelerometer": [],