Skip to content

Commit

Permalink
apply exact same matcher array present in issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-piotrowicz committed Aug 9, 2023
1 parent b60f831 commit d983fed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/middleware-13.2.4/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ export function middleware(request: NextRequest) {
}

export const config = {
matcher: ['/api/:path*', '/test/:path*'],
};
matcher: ['/', '/((?!_next|favicon.ico|api|.*\\.).*)', '/api/login', '/api/logout']
};

0 comments on commit d983fed

Please sign in to comment.