From cd7be080d7daec9028e9e94118d2cc711af3fb9b Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Fri, 13 Feb 2026 00:24:43 +0100 Subject: [PATCH] fix(middleware): correctly include infrastructure routes in matcher for bypass --- middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware.ts b/middleware.ts index 1326aa6d..ad4820fe 100644 --- a/middleware.ts +++ b/middleware.ts @@ -74,5 +74,5 @@ export default function middleware(request: NextRequest) { export const config = { // Match only internationalized pathnames - matcher: ['/((?!api|_next|_vercel|stats|errors|health|.*\\..*).*)', '/', '/(de|en)/:path*'], + matcher: ['/((?!api|_next|_vercel|.*\\..*).*)', '/', '/(de|en)/:path*'], };