From a9d1aa069d8f1c1ae746edb8faf8f2a1b7835354 Mon Sep 17 00:00:00 2001 From: alireza Date: Tue, 14 Jan 2025 00:26:57 +0330 Subject: [PATCH] feat: Fix allowed hosts --- backend/aaiss_backend/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/aaiss_backend/settings.py b/backend/aaiss_backend/settings.py index e2135ea..261a8f2 100644 --- a/backend/aaiss_backend/settings.py +++ b/backend/aaiss_backend/settings.py @@ -25,7 +25,7 @@ # SECURITY WARNING: don't run with debug turned on in production! DEBUG = env.bool("DEBUG", False) -ALLOWED_HOSTS = ['aaiss.ir', '127.0.0.1', 'localhost', "http://185.252.86.114"] +ALLOWED_HOSTS = ['aaiss.ir', '127.0.0.1', 'localhost', "185.252.86.114"] CSRF_TRUSTED_ORIGINS = ['https://aaiss.ir', 'https://localhost', 'https://127.0.0.1', "http://185.252.86.114"] # Application definition