mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-03 16:41:27 +01:00
updated backend to user tursted hosts too
This commit is contained in:
1 parent
967378bdb5
commit
b770e97493
4 files changed
+22
No files matched your search
@@ -16,6 +16,11 @@ ALLOWED_HOSTS=localhost,127.0.0.1,backend
|
||||
DEBUG=true
|
||||
|
||||
|
||||
# A comma-separated list of domains that Django will trust for CSRF purposes.
|
||||
# This should match your frontend domain.
|
||||
# Example: CSRF_TRUSTED_ORIGINS=https://holy.narl.io,http://localhost:5173
|
||||
CSRF_TRUSTED_ORIGINS=http://localhost:5173
|
||||
|
||||
# --- SMTP Configuration ---
|
||||
# Rename this file to .env and fill in your details to enable email sending.
|
||||
|
||||
|
||||
Reference in new issue
Block a user