From dbfcd47b6b7cca37107d787abb1c2ef3225a8341 Mon Sep 17 00:00:00 2001 From: hyun-park Date: Tue, 23 Jul 2019 13:35:49 +0900 Subject: [PATCH] allowed host added --- scriptslide/settings.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scriptslide/settings.py b/scriptslide/settings.py index 199513e5..cf76d9e0 100644 --- a/scriptslide/settings.py +++ b/scriptslide/settings.py @@ -25,7 +25,14 @@ # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = [ + 'localhost', + '127.0.0.1', + # ALB HEALTH IP + '172.31.47.251', + 'scriptslide.com', + 'api.scriptslide.com' +] # Application definition @@ -200,4 +207,4 @@ "hosts": [('127.0.0.1', 6379)], }, }, -} \ No newline at end of file +}