Skip to content

Commit 5c0e701

Browse files
authored
Merge pull request #104 from toggle-corp/feat/Update-settings
Add frontend host to trusted origin list in setting
2 parents 02b61ad + 978b131 commit 5c0e701

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/settings.py

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
SECURE_HSTS_PRELOAD = True
118118
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
119119
CSRF_TRUSTED_ORIGINS = [
120+
APP_FRONTEND_HOST,
120121
f"{APP_HTTP_PROTOCOL}://{APP_DOMAIN}",
121122
]
122123
# Note: The embedding model and vector size both should be compatible

0 commit comments

Comments
 (0)