Skip to content

Commit e665371

Browse files
committed
chore: 로컬 5174 포트도 허용하도록 수정
1 parent 0c098f0 commit e665371

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/core/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
f"{protocol}://{domain}{port}"
120120
for protocol in ("http", "https")
121121
for domain in ("localhost", "127.0.0.1", "pycon.kr", "local.dev.pycon.kr")
122-
for port in ("", ":3000", ":5173")
122+
for port in ("", ":3000", ":5173", ":5174")
123123
]
124124
CORS_ALLOW_CREDENTIALS = True
125125
CORS_ALLOW_HEADERS = [*corsheaders.defaults.default_headers, "accept-encoding", "origin", "x-csrftoken"]
@@ -316,7 +316,7 @@
316316
f"{protocol}://{domain}:{port}"
317317
for protocol in ("http", "https")
318318
for domain in ("localhost", "127.0.0.1", "local.dev.pycon.kr")
319-
for port in (3000, 5173)
319+
for port in (3000, 5173, 5174)
320320
}
321321

322322
SESSION_COOKIE_NAME = f"{COOKIE_PREFIX}sessionid"

0 commit comments

Comments
 (0)