Skip to content
Snippets Groups Projects
Commit 9a838247 authored by Timothee P's avatar Timothee P :sunflower:
Browse files

fix: CSRF_TRUSTED_ORIGINS syntax

parent 542fb643
No related branches found
No related tags found
2 merge requests!11Update dev branch,!9REDMINE_ISSUE-18861 | Montée de version Python 3.12 + django 5 + lib associées
......@@ -10,9 +10,9 @@
# Django ALLOWED_HOST comma separeted values
DOMAINS=localhost,127.0.0.1,geocontrib.dev.neogeo.fr
# External authorized domains to securize request from CSRF attacks.
# Django comma separeted values, for external authorized domains to securize request from CSRF attacks.
# Since django 4 each domain should include a schema (ex : `https://` ou `http://`)
CSRF_TRUSTED_ORIGINS=['https://geocontrib.dev.neogeo.fr']
CSRF_TRUSTED_ORIGINS=https://geocontrib.dev.neogeo.fr
# Port the front will bind on host
#HTTP_PORT=80
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment