Update settings.py

This commit is contained in:
cryptomorpheuss 2023-10-10 23:13:18 -03:00 committed by GitHub
parent 7240e1d7ec
commit bc67d6e5e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,6 @@ INSTALLED_APPS = [
]
MIDDLEWARE = [
'csp.middleware.CSPMiddleware',
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
@ -113,6 +112,3 @@ TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
CSP_FRAME_ANCESTORS = ("'self'",'https://trocador.app', 'http://127.0.0.1', 'https://cdn.plot.ly')
CSP_FRAME_SRC = ("'self'", '*', 'https://cdn.plot.ly')