fix(settings_cof): Origins must have a scheme

This commit is contained in:
Tom Hubrecht 2025-01-16 18:18:36 +01:00 committed by catvayor
parent bed4313df3
commit b7d8af144b

View file

@ -204,7 +204,7 @@ CHANNEL_LAYERS = credentials.get_json(
ASGI_APPLICATION = "gestioasso.routing.application"
CORS_ALLOWED_ORIGINS = credentials.get("CORS_ALLOWED_ORIGINS", [])
CSRF_TRUSTED_ORIGINS = ALLOWED_HOSTS
CSRF_TRUSTED_ORIGINS = [f"https://{host}" for host in ALLOWED_HOSTS]
SITE_ID = 1