fix(settings_cof): Origins must have a scheme
This commit is contained in:
parent
35c0f02ec5
commit
9ec07f426c
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ CHANNEL_LAYERS = credentials.get_json(
|
||||||
ASGI_APPLICATION = "gestioasso.routing.application"
|
ASGI_APPLICATION = "gestioasso.routing.application"
|
||||||
|
|
||||||
CORS_ALLOWED_ORIGINS = credentials.get("CORS_ALLOWED_ORIGINS", [])
|
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
|
SITE_ID = 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue