fix: middleware publicRoutes 타입 에러 수정

This commit is contained in:
2026-03-11 02:15:06 +09:00
parent 5b5a6bdf88
commit 924726cba1

View File

@@ -185,7 +185,7 @@ function isGuestOnlyRoute(pathname: string): boolean {
}
function isPublicRoute(pathname: string): boolean {
return AUTH_CONFIG.publicRoutes.some(route => {
return AUTH_CONFIG.publicRoutes.some((route: string) => {
// '/' 는 정확히 일치해야만 public
if (route === '/') {
return pathname === '/';