Skip to content

Commit 19a6340

Browse files
committed
update: 환경별 ALLOW_HOSTS 지정
1 parent 5284de2 commit 19a6340

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

pyconkr/settings-dev.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
DEBUG = True
66

7+
ALLOWED_HOSTS += [
8+
"api-dev.pycon.kr",
9+
]
10+
711
# RDS
812
DATABASES = {
913
"default": {

pyconkr/settings-prod.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
DEBUG = False
66

7+
ALLOWED_HOSTS += [
8+
"api.pycon.kr",
9+
]
10+
711
# RDS
812
DATABASES = {
913
"default": {

0 commit comments

Comments
 (0)