From ebfce05e82147497e696b2afbd12f9ae653df794 Mon Sep 17 00:00:00 2001 From: alireza Date: Mon, 13 Jan 2025 23:18:25 +0330 Subject: [PATCH] feat: Fix allowed hosts --- backend/aaiss_backend/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/aaiss_backend/settings.py b/backend/aaiss_backend/settings.py index e2135ea..f68b20b 100644 --- a/backend/aaiss_backend/settings.py +++ b/backend/aaiss_backend/settings.py @@ -25,8 +25,8 @@ # 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"] -CSRF_TRUSTED_ORIGINS = ['https://aaiss.ir', 'https://localhost', 'https://127.0.0.1', "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', "185.252.86.114"] # Application definition