fix: ensure migrated pages are added to config.matcher in middleware (#18153)
This commit is contained in:
@@ -153,6 +153,13 @@ export const config = {
|
||||
// Next.js Doesn't support spread operator in config matcher, so, we must list all paths explicitly here.
|
||||
// https://github.com/vercel/next.js/discussions/42458
|
||||
matcher: [
|
||||
"/d/:path*",
|
||||
"/more/:path*",
|
||||
"/maintenance/:path*",
|
||||
"/enterprise/:path*",
|
||||
"/upgrade/:path*",
|
||||
"/connect-and-join/:path*",
|
||||
"/insights/:path*",
|
||||
"/:path*/embed",
|
||||
"/api/auth/signup",
|
||||
"/api/trpc/:path*",
|
||||
|
||||
Reference in New Issue
Block a user