Skip to content

Commit

Permalink
add some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzhang1618 committed Jan 9, 2025
1 parent 1766e3a commit 8582039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export function middleware(request: NextRequest) {
const userCookie = request.cookies.get(CookieType.USER);

if (!userCookie) {
// return NextResponse.redirect(new URL('/login', request.url));
return NextResponse.redirect(new URL('/login', request.url));
}

return NextResponse.next();
Expand Down

0 comments on commit 8582039

Please sign in to comment.