fix: ensure migrated pages are added to config.matcher in middleware (#18153)

This commit is contained in:
Benny Joo
2024-12-13 12:43:08 +05:30
committed by GitHub
parent 59dfcaa2fa
commit 51841e5e9c
+7
View File
@@ -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*",