We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7336525 commit 814ba92Copy full SHA for 814ba92
src/middleware.ts
@@ -4,16 +4,5 @@ import { routing } from './navigation';
4
export const middleware = createMiddleware(routing);
5
6
export const config = {
7
- matcher: [
8
- '/',
9
- '/(en)/:path*',
10
- /*
11
- * Match all request paths except for the ones starting with:
12
- * - api (API routes)
13
- * - _next/static (static files)
14
- * - _next/image (image optimization files)
15
- * - favicon.ico, sitemap.xml, robots.txt (metadata files)
16
- */
17
- '/((?!api|_next/static|_next/image|logos|favicon.ico|sitemap.xml|robots.txt|.*\\..*).*)',
18
- ],
+ matcher: ['/((?!api|_next|.*\\..*).*)'],
19
};
0 commit comments