diff --git a/src/middleware.ts b/src/middleware.ts index 1648f328..df8f5645 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -12,8 +12,8 @@ const HTTPWhitelistPaths = ["/api/healthcheck"] export const config = { // Skip all paths that should not be internationalized. This example skips the - // folders "api", "_next" and all files with an extension (e.g. favicon.ico) - matcher: ["/((?!api|_next|_vercel|.*\\..*).*)"], + // folders "api", "_next", "_vercel" + matcher: ["/((?!api|_next|_vercel).*)"], } export async function middleware(req: NextRequest) {