Update settings.py
This commit is contained in:
parent
0980899e2e
commit
594ead1b4a
1 changed files with 3 additions and 3 deletions
|
@ -115,13 +115,13 @@ USE_L10N = True
|
||||||
USE_TZ = True
|
USE_TZ = True
|
||||||
|
|
||||||
# Security policy
|
# 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_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_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_FONT_SRC = ('http://site-assets.fontawesome.com',"'self'", 'https://cdn.plot.ly')
|
||||||
CSP_SCRIPT_SRC = ("'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_ANCESTORS = ("'self'",'https://trocador.app', 'http://127.0.0.1', 'https://cdn.plot.ly')
|
||||||
CSP_FRAME_SRC = ("'self'", '*')
|
CSP_FRAME_SRC = ("'self'", '*', 'https://cdn.plot.ly')
|
||||||
#CSRF_COOKIE_SAMESITE = 'None'
|
#CSRF_COOKIE_SAMESITE = 'None'
|
||||||
PERMISSIONS_POLICY = {
|
PERMISSIONS_POLICY = {
|
||||||
"accelerometer": [],
|
"accelerometer": [],
|
||||||
|
|
Loading…
Reference in a new issue