Commit c94ff203 authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

ajout CORS grammachrome + localhost8080

parent 6e1728e4
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
[packages]
[requires]
python_version = "3.6"
......@@ -31,15 +31,19 @@ CORS_ORIGIN_ALLOW_ALL = False
CORS_ALLOWED_ORIGINS = [
"http://127.0.0.1:8000",
"http://127.0.0.1:8080",
"http://82.64.20.170:8080",
"http://phonodrop.alem-app.fr",
"https://phonodrop.alem-app.fr"
"https://phonodrop.alem-app.fr",
"https://grammachrome.alem-app.fr"
]
CSRF_TRUSTED_ORIGINS = [
"http://127.0.0.1:8000",
"http://127.0.0.1:8080",
"http://82.64.20.170:8080",
"http://phonodrop.alem-app.fr",
"https://phonodrop.alem-app.fr"
"https://phonodrop.alem-app.fr",
"https://grammachrome.alem-app.fr"
]
# Application definition
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment