From 3daad596f2bb6a99a6a2ae979984219335f741ba Mon Sep 17 00:00:00 2001 From: Lee Hyemin <114126424+2ming00@users.noreply.github.com> Date: Mon, 2 Sep 2024 17:18:16 +0900 Subject: [PATCH 1/2] Update settings.py --- aiServer/aiServer/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aiServer/aiServer/settings.py b/aiServer/aiServer/settings.py index 5d4c3f6..1565f9a 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', 'localhost'] +ALLOWED_HOSTS = ['https://www.api.ant.helper.com', 'https://api.ant.helper.com', '127.0.0.1', '0.0.0.0', 'localhost'] INSTALLED_APPS = [ 'django.contrib.admin', @@ -153,4 +153,4 @@ def get_secret(setting): 'user-agent', 'x-csrftoken', 'x-requested-with', -) \ No newline at end of file +) From 1b400e8449fd7b6de072421bcf4ec3d86171408c Mon Sep 17 00:00:00 2001 From: Lee Hyemin <114126424+2ming00@users.noreply.github.com> Date: Mon, 2 Sep 2024 17:37:37 +0900 Subject: [PATCH 2/2] Update django_CICD.yml --- .github/workflows/django_CICD.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/django_CICD.yml b/.github/workflows/django_CICD.yml index 84d5f5f..2fde118 100644 --- a/.github/workflows/django_CICD.yml +++ b/.github/workflows/django_CICD.yml @@ -59,7 +59,6 @@ jobs: # 사용된 키 삭제 rm key.pem - deploy: runs-on: ubuntu-latest needs: upload