From cf08c707d1b85a3ea7b1301d83601d10789ce04b Mon Sep 17 00:00:00 2001 From: Mojtaba-z Date: Sat, 24 May 2025 16:26:28 +0330 Subject: [PATCH] add web localhost to allowed hosts --- Rasaddam_Backend/settings.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Rasaddam_Backend/settings.py b/Rasaddam_Backend/settings.py index e833437..7e8496e 100644 --- a/Rasaddam_Backend/settings.py +++ b/Rasaddam_Backend/settings.py @@ -27,7 +27,14 @@ SECRET_KEY = 'django-insecure-@0apn-lk85pfw=z00x2ib$w9#rwz8%2v4i_n^^9jz-m9b+y55* # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200'] +ALLOWED_HOSTS = [ + 'localhost', + '127.0.0.1', + 'https://rasadyar.net/', + 'https://localhost:9200', + 'http://localhost:3000', + 'http://192.168.88.130:3000' +] # Application definition