Skip to content

Commit

Permalink
CCM-5340: remove matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnuttall committed Jan 22, 2025
1 parent 0b9c98f commit 55b1b75
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ export function middleware(request: NextRequest) {
return response;
}

export const config = {
matcher: [
/*
* Match all request paths except for the ones starting with:
* - _next/static (static files)
* - _next/image (image optimization files)
* - favicon.ico (favicon file)
*/
'/((?!_next/static|_next/image|favicon.ico).*)',
],
};
// export const config = {
// matcher: [
// /*
// * Match all request paths except for the ones starting with:
// * - _next/static (static files)
// * - _next/image (image optimization files)
// * - favicon.ico (favicon file)
// */
// '/((?!_next/static|_next/image|favicon.ico).*)',
// ],
// };

0 comments on commit 55b1b75

Please sign in to comment.