Fix middleware matcher for /admin root path
All checks were successful
Deploy to Server / deploy (push) Successful in 1m9s
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:
@@ -24,5 +24,5 @@ export async function middleware(request: NextRequest) {
|
||||
}
|
||||
|
||||
export const config = {
|
||||
matcher: ["/admin/((?!_next|favicon.ico).*)"],
|
||||
matcher: ["/admin", "/admin/((?!_next|favicon.ico).*)"],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user