From b51cb0e17ef9ff95fee5ed70a47a28d571136280 Mon Sep 17 00:00:00 2001 From: alireza Date: Mon, 13 Jan 2025 22:25:32 +0330 Subject: [PATCH] feat: Add ip to trusted stuff --- 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 87d8304..e2135ea 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'] -CSRF_TRUSTED_ORIGINS = ['https://aaiss.ir', 'https://localhost', 'https://127.0.0.1'] +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"] # Application definition