diff --git a/www/apps/book/next.config.mjs b/www/apps/book/next.config.mjs index b4f752655cf59..3b2af6e1e5827 100644 --- a/www/apps/book/next.config.mjs +++ b/www/apps/book/next.config.mjs @@ -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: `${