Skip to content

Commit

Permalink
docs: add ui rewrite (#9762)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser authored Oct 24, 2024
1 parent 88f2d17 commit 6617f81
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions www/apps/book/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,20 @@ const nextConfig = {
}/api/:path*`,
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",
destination: `${
Expand Down

0 comments on commit 6617f81

Please sign in to comment.