updated backend to user tursted hosts too

This commit is contained in:
nvrl committed 2026-02-15 22:09:08 +01:00
1 parent 967378bdb5
commit b770e97493
4 files changed
+22

No files matched your search

+5
View File
@@ -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.