Skip to content

Commit

Permalink
docs(v1.x): disable base path from rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser committed Oct 24, 2024
1 parent 9a4e805 commit 85806f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion www/apps/api-reference/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ const nextConfig = {
{
source: "/v1",
destination: `${process.env.NEXT_PUBLIC_DOCS_URL}/v1`,
basePath: false,
},
{
source: "/v1/:path*",
destination: `${process.env.NEXT_PUBLIC_DOCS_URL}/v1`,
destination: `${process.env.NEXT_PUBLIC_DOCS_URL}/v1/:path*`,
basePath: false,
},
{
source: "/:path*",
Expand Down

0 comments on commit 85806f4

Please sign in to comment.