From 980ea3d1945cbad43535cb901dd6b26c5fc3b7b8 Mon Sep 17 00:00:00 2001 From: Lee Hyemin <114126424+2ming00@users.noreply.github.com> Date: Wed, 4 Sep 2024 09:05:56 +0900 Subject: [PATCH] Update settings.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit allowed hosts 수정 --- aiServer/aiServer/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiServer/aiServer/settings.py b/aiServer/aiServer/settings.py index 1565f9a..b480abc 100644 --- a/aiServer/aiServer/settings.py +++ b/aiServer/aiServer/settings.py @@ -31,7 +31,7 @@ def get_secret(setting): # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ['https://www.api.ant.helper.com', 'https://api.ant.helper.com', '127.0.0.1', '0.0.0.0', 'localhost'] +ALLOWED_HOSTS = ['www.api.ant.helper.com', 'api.ant.helper.com', '52.78.54.137', '127.0.0.1', '0.0.0.0', 'localhost'] INSTALLED_APPS = [ 'django.contrib.admin',