docs: remove v1 docs from navbar (#9722)

* docs: remove v1 docs from navbar

* remove fallback
This commit is contained in:
Shahed Nasser
2024-10-23 09:10:27 +02:00
committed by GitHub
parent 2fbebb60e3
commit 8891c0a3d0
2 changed files with 6 additions and 13 deletions
-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,
},
],
}
},