docs: fix rewrite to main docs (#7953)

This commit is contained in:
Shahed Nasser
2024-07-04 18:29:30 +03:00
committed by GitHub
parent 1acbcf612e
commit 94e5feeb3d

View File

@@ -127,7 +127,7 @@ const nextConfig = {
// basePath: false,
// },
{
source: "/:path*",
source: "/:path((?!v2).*)",
destination: `${
process.env.NEXT_PUBLIC_API_V1_URL || "https://localhost:3001"
}/:path*`,