From d08be3754f978bebd98eae1fda8470fad5148e43 Mon Sep 17 00:00:00 2001 From: keannu125 Date: Sun, 19 Mar 2023 20:56:50 +0800 Subject: [PATCH] Added allowed hosts --- project/config/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/config/settings.py b/project/config/settings.py index 59bf5c1..11e6a48 100644 --- a/project/config/settings.py +++ b/project/config/settings.py @@ -28,7 +28,7 @@ SECRET_KEY = os.environ.get('SECRET_KEY') # SECURITY WARNING: don't run with debug turned on in production! DEBUG = False -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ['lemeow125.github.io', 'keannu126.pythonanywhere.com'] # Application definition