Skip to content

Commit a3212d7

Browse files
committed
Add gate to CORS allowed origins
1 parent 59912cf commit a3212d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

insalan/settings.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@
217217
"https://api." + getenv("WEBSITE_HOST", "localhost"),
218218
"http://" + getenv("WEBSITE_HOST", "localhost"),
219219
"http://api." + getenv("WEBSITE_HOST", "localhost"),
220-
"https://" + getenv("HELLOASSO_HOSTNAME", "localhost") # helloasso has be to trusted
220+
"https://" + getenv("HELLOASSO_HOSTNAME", "localhost"), # helloasso has be to trusted
221+
"https://gate." + getenv("WEBSITE_HOST", "localhost"),
221222

222223
]
223224
CSRF_COOKIE_DOMAIN = '.' + getenv("WEBSITE_HOST", "localhost")

0 commit comments

Comments
 (0)