Fix middleware matcher for /admin root path
All checks were successful
Deploy to Server / deploy (push) Successful in 1m9s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Peter Meier
2026-03-15 21:56:43 +01:00
parent b432621919
commit 2f3f460e0f

View File

@@ -24,5 +24,5 @@ export async function middleware(request: NextRequest) {
} }
export const config = { export const config = {
matcher: ["/admin/((?!_next|favicon.ico).*)"], matcher: ["/admin", "/admin/((?!_next|favicon.ico).*)"],
}; };