fix: middleware publicRoutes 타입 에러 수정
This commit is contained in:
@@ -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 === '/';
|
||||
|
||||
Reference in New Issue
Block a user