docs: prepare configuration (#7877)
* update configuration * resolve todos + remove events guides * disable v2 docs in v1 navbar * remove v2 from v1 mobile sidebar * resolve build errors * fix build errors * fix lint errors * fix lint
This commit is contained in:
@@ -108,6 +108,13 @@ const nextConfig = {
|
||||
}/v2/resources/:path*`,
|
||||
basePath: false,
|
||||
},
|
||||
{
|
||||
source: "/v2/api/:path*",
|
||||
destination: `${
|
||||
process.env.NEXT_PUBLIC_API_URL || "https://localhost:3001"
|
||||
}/v2/api/:path*`,
|
||||
basePath: false,
|
||||
},
|
||||
// TODO comment out once we have the user guide published
|
||||
// {
|
||||
// source: "/user-guide",
|
||||
@@ -122,7 +129,7 @@ const nextConfig = {
|
||||
{
|
||||
source: "/:path*",
|
||||
destination: `${
|
||||
process.env.NEXT_PUBLIC_DOCS_V1_URL || "https://localhost:3000"
|
||||
process.env.NEXT_PUBLIC_API_V1_URL || "https://localhost:3001"
|
||||
}/:path*`,
|
||||
basePath: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user