Merge pull request 'fix/allow_credentials' (#34) from feature/hub-implementacion into main

Reviewed-on: #34
This commit is contained in:
2026-06-08 14:31:45 +00:00

View File

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