Actualiser kholles_web/settings.sample.py
This commit is contained in:
parent
d26e1e5690
commit
4b3f1462e7
|
@ -25,12 +25,12 @@ SECRET_KEY = 'django-insecure-$)@!wj+$^y1@^tr78ay&)cna10da_k^vncrbo+4ja-qth$8bhz
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
||||||
ALLOWED_HOSTS = ["127.0.0.1", "colles.mp2i-vms.fr"]
|
ALLOWED_HOSTS = ["127.0.0.1"] # à modifier
|
||||||
|
|
||||||
CSRF_TRUSTED_ORIGINS = [
|
CSRF_TRUSTED_ORIGINS = [
|
||||||
"http://127.0.0.1:8000",
|
"http://127.0.0.1:8000",
|
||||||
"https://colles.mp2i-vms.fr"
|
"https://colles.mp2i-vms.fr"
|
||||||
]
|
] # à modifier
|
||||||
|
|
||||||
CORS_ORIGIN_WHITELIST = [
|
CORS_ORIGIN_WHITELIST = [
|
||||||
"http://localhost:8000",
|
"http://localhost:8000",
|
Loading…
Reference in New Issue