Compare commits

..

2 Commits

Author SHA1 Message Date
7644446267 Merge pull request 'fix/allow_credentials' (#34) from feature/hub-implementacion into main
Reviewed-on: #34
2026-06-08 14:31:45 +00:00
cab3290f2e fix/allow_credentials 2026-06-08 08:27:54 -06: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