docs: remove v1 docs from navbar (#9722)
* docs: remove v1 docs from navbar * remove fallback
This commit is contained in:
@@ -117,13 +117,6 @@ const nextConfig = {
|
||||
// destination: `${process.env.NEXT_PUBLIC_USER_GUIDE_URL}/user-guide/:path*`,
|
||||
// basePath: false,
|
||||
// },
|
||||
{
|
||||
source: "/:path((?!v2).*)",
|
||||
destination: `${
|
||||
process.env.NEXT_PUBLIC_API_V1_URL || "https://localhost:3001"
|
||||
}/:path*`,
|
||||
basePath: false,
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user