From 8e7c4956e10382a837f7bcf04b374357f7257766 Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Sun, 13 Aug 2023 17:23:06 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=83=AD=E3=82=B0=E3=82=A4=E3=83=B3?= =?UTF-8?q?=E5=BE=8C=E3=81=AB=E5=86=8D=E8=AA=AD=E8=BE=BC=E3=81=99=E3=82=8B?= =?UTF-8?q?=E5=BF=85=E8=A6=81=E3=81=8C=E3=81=82=E3=82=8B=E3=81=AE=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/web/pages/LoginPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/web/pages/LoginPage.tsx b/src/main/web/pages/LoginPage.tsx index decb6990..f406c0bf 100644 --- a/src/main/web/pages/LoginPage.tsx +++ b/src/main/web/pages/LoginPage.tsx @@ -18,7 +18,7 @@ export const LoginPage: Component = () => { api().loginPost({password: password(), username: username()}).then(value => { setCookie("token", value.token); setCookie("refresh-token", value.refreshToken) - navigator("/") + window.location.href = "/" }).catch(reason => { console.log(reason); setPassword("")