From e332b2948f70e800caafa9e498d6563c0b71f91e Mon Sep 17 00:00:00 2001 From: Suhjeong Kim Date: Thu, 28 Mar 2024 15:06:00 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=8F=99=EB=93=B1=EB=B9=84=EA=B5=90=20?= =?UTF-8?q?=EC=97=B0=EC=82=B0=EC=9E=90=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/login/AuthPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/login/AuthPage.tsx b/frontend/src/pages/login/AuthPage.tsx index 80d88eb..be0f8e9 100644 --- a/frontend/src/pages/login/AuthPage.tsx +++ b/frontend/src/pages/login/AuthPage.tsx @@ -5,7 +5,7 @@ const AuthPage = () => { const [searchParams] = useSearchParams(); const code = searchParams.get("code"); - const isLocal = window.location.pathname.split("/").pop() == "local"; + const isLocal = window.location.pathname.split("/").pop() === "local"; if (isLocal) { window.location.href = `http://localhost:5173/auth/github/callback?code=${code}`; return;