diff --git a/middleware.ts b/middleware.ts index 265a24c..3d290f9 100644 --- a/middleware.ts +++ b/middleware.ts @@ -14,5 +14,9 @@ export default createMiddleware({ export const config = { // Matcher for all pages and internationalized pathnames // excluding api, _next, static files, etc. - matcher: ["/((?!api|_next|_vercel|.*\\..*).*)", "/", "/(de)/:path*"], + matcher: [ + "/((?!api|stats|errors|_next|_vercel|.*\\..*).*)", + "/", + "/(de)/:path*", + ], };