docs: remove v1 docs from navbar (#9722)

* docs: remove v1 docs from navbar

* remove fallback
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-10-23 09:10:27 +02:00
1 parent 2fbebb60e3
commit 8891c0a3d0
2 files changed
+6 -13

No files matched your search

-7
View File
@@ -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,
},
],
}
},