Skip to content

Commit bf6f04d

Browse files
committed
fix:pathname 조건 추가
1 parent 3ec2ce1 commit bf6f04d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/middleware.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ export function middleware(request: NextRequest) {
5555
}
5656

5757
if (
58+
pathname !== "/" &&
59+
pathname !== "/home" &&
5860
!pathname.startsWith("/api") &&
5961
!pathname.startsWith("/test") &&
6062
!publicPages.includes(pathname) &&

0 commit comments

Comments
 (0)