diff --git a/middleware.ts b/middleware.ts index 3d290f9..aa9e4d4 100644 --- a/middleware.ts +++ b/middleware.ts @@ -15,7 +15,7 @@ export const config = { // Matcher for all pages and internationalized pathnames // excluding api, _next, static files, etc. matcher: [ - "/((?!api|stats|errors|_next|_vercel|.*\\..*).*)", + "/((?!api|admin|stats|errors|_next|_vercel|.*\\..*).*)", "/", "/(de)/:path*", ],