fix/allow_credentials #34

Merged
jcedilloAS merged 1 commits from feature/hub-implementacion into main 2026-06-08 14:31:45 +00:00

View File

@@ -178,7 +178,7 @@ if DEBUG:
USE_X_FORWARDED_HOST = False
else:
CORS_ALLOW_ALL_ORIGINS = False
CORS_ALLOW_CREDENTIALS = False
CORS_ALLOW_CREDENTIALS = True
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
CORS_ALLOWED_ORIGINS = os.getenv('CORS_ALLOWED_ORIGINS').split(',')
CSRF_COOKIE_SECURE = True