Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
yougyung committed Sep 12, 2024
1 parent 235ffe5 commit 581f6ad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export async function middleware(request: NextRequest) {
}

if (auth.role === 'guest' && !isAllowedGuestPath(request.nextUrl.pathname)) {
console.log(isAllowedGuestPath(request.nextUrl.pathname));
return Response.redirect(new URL('/sign-in', request.url));
}

Expand Down

0 comments on commit 581f6ad

Please sign in to comment.