diff --git a/src/pages/mypage.tsx b/src/pages/mypage.tsx index f0ba826..5516972 100644 --- a/src/pages/mypage.tsx +++ b/src/pages/mypage.tsx @@ -155,7 +155,8 @@ const fetchMyPage = async () => { } catch (error) { return { redirect: { - destination: '/', + destination: '/login', + permanent: false, }, }; }