From 90e9f378498e5805575ef74c7bc596f8b9308c76 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Mon, 9 Feb 2026 22:32:35 +0100 Subject: [PATCH] fix: umami --- middleware.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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*", + ], };