Skip to content

Commit d771fee

Browse files
committed
feat: NextResponse return
1 parent 7098843 commit d771fee

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

middleware.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ export function middleware(request: NextRequest) {
1919
if (pathname === '/landing' && isLoggedIn) {
2020
return NextResponse.redirect(new URL('/', request.url));
2121
}
22+
23+
return NextResponse.next();
2224
}
2325

2426
export const config = {

0 commit comments

Comments
 (0)