add trusted origins

This commit is contained in:
Basyrov Rustam
2025-06-06 14:43:36 +03:00
parent c336908dbf
commit a9df789b04

View File

@@ -26,6 +26,7 @@ SECRET_KEY = os.getenv("DJANGO_SECRET_KEY")
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False DEBUG = False
CSRF_TRUSTED_ORIGINS = ["https://app.saccada.xyz"]
ALLOWED_HOSTS = ["localhost", "app.saccada.xyz"] ALLOWED_HOSTS = ["localhost", "app.saccada.xyz"]