feat: 쿠키 통한 로그인 권한 체크 구현

This commit is contained in:
swcho
2025-10-02 14:00:03 +09:00
parent 662e44b19a
commit ba468c9224
50 changed files with 1253 additions and 150 deletions
+4 -4
View File
@@ -135,10 +135,10 @@ export function middleware(req: NextRequest) {
});
}
if (pathname === "/") {
return NextResponse.redirect(new URL("/pages/dashboard", req.url));
}
return NextResponse.next();
// if (pathname === "/") {
// return NextResponse.redirect(new URL("/pages/dashboard", req.url));
// }
// return NextResponse.next();
}
export const config = {