chore: Use new format for CSRF_TRUSTED_ORIGINS setting

This commit is contained in:
Jennifer Richards 2023-05-16 11:26:30 -03:00
parent 869562e914
commit 374c1a40be
No known key found for this signature in database
GPG key ID: 9B2BF5C5ADDA6A6E

View file

@ -319,7 +319,14 @@ UTILS_LOGGER_LEVELS: Dict[str, str] = {
X_FRAME_OPTIONS = 'SAMEORIGIN'
CSRF_TRUSTED_ORIGINS = ['ietf.org', '*.ietf.org', 'meetecho.com', '*.meetecho.com', 'gather.town', '*.gather.town', ]
CSRF_TRUSTED_ORIGINS = [
"https://ietf.org",
"https://*.ietf.org",
'https://meetecho.com',
'https://*.meetecho.com',
'https://gather.town',
'https://*.gather.town',
]
CSRF_COOKIE_SAMESITE = 'None'
CSRF_COOKIE_SECURE = True