From d3487fd8fda79d5b6ba38d3338b4811ea809e070 Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Wed, 1 Apr 2026 15:22:22 +0900 Subject: [PATCH] =?UTF-8?q?fix(tkfb):=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20?= =?UTF-8?q?=ED=9B=84=20redirect=20404=20=EC=88=98=EC=A0=95=20=E2=80=94=20?= =?UTF-8?q?=EC=83=81=EB=8C=80=EA=B2=BD=EB=A1=9C=E2=86=92=EC=A0=88=EB=8C=80?= =?UTF-8?q?URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit index.html에서 /pages/dashboard-new.html 상대경로로 redirect 파라미터를 넘기면 tkds에서 로그인 후 tkds.technicalkorea.net/pages/dashboard-new.html로 이동하여 404 발생. window.location.origin을 붙여 절대 URL로 수정. Co-Authored-By: Claude Opus 4.6 (1M context) --- system1-factory/web/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system1-factory/web/index.html b/system1-factory/web/index.html index f468fb2..9a4421d 100644 --- a/system1-factory/web/index.html +++ b/system1-factory/web/index.html @@ -19,7 +19,7 @@ window.location.replace('/pages/dashboard-new.html'); } else { // SSO 로그인 페이지로 리다이렉트 (gateway의 /login) - window.location.replace('/login?redirect=' + encodeURIComponent('/pages/dashboard-new.html')); + window.location.replace('/login?redirect=' + encodeURIComponent(window.location.origin + '/pages/dashboard-new.html')); }