docs: add ui rewrite (#9762)
This commit is contained in:
@@ -112,6 +112,20 @@ const nextConfig = {
|
|||||||
}/api/:path*`,
|
}/api/:path*`,
|
||||||
basePath: false,
|
basePath: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
source: "/ui",
|
||||||
|
destination: `${
|
||||||
|
process.env.NEXT_PUBLIC_UI_URL || "https://localhost:3001"
|
||||||
|
}/ui`,
|
||||||
|
basePath: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: "/ui/:path*",
|
||||||
|
destination: `${
|
||||||
|
process.env.NEXT_PUBLIC_UI_URL || "https://localhost:3001"
|
||||||
|
}/ui/:path*`,
|
||||||
|
basePath: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
source: "/v1",
|
source: "/v1",
|
||||||
destination: `${
|
destination: `${
|
||||||
|
|||||||
Reference in New Issue
Block a user