Fix middleware paths (#423)

This commit is contained in:
Luke Vella 2023-01-20 17:56:52 +00:00 committed by GitHub
parent 45af053db9
commit fcb2d362c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,9 +54,9 @@ export function middleware({ headers, cookies, nextUrl }: NextRequest) {
export const config = {
matcher: [
"/admin/:id",
"/admin/:id*",
"/demo",
"/p/:id",
"/p/:id*",
"/profile",
"/new",
"/login",