From 5522178661d2963b9b52fd742f4e8bd96dc3c91c Mon Sep 17 00:00:00 2001 From: vickytechkey Date: Sun, 23 Aug 2026 09:46:24 +0530 Subject: [PATCH] Restrict ALLOWED_HOSTS to specific IP --- core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/settings.py b/core/settings.py index 5db4f30..1b36f47 100644 --- a/core/settings.py +++ b/core/settings.py @@ -27,7 +27,7 @@ SECRET_KEY = 'django-insecure-h3*qqwi%s4(ve^!!27d1sn6gew&4ol0^eh^n*3$aq=p+ht#)6k # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ['*'] +ALLOWED_HOSTS = ['16.113.57.127', '127.0.0.1', 'localhost'] # Application definition