diff --git a/client/packages/portal-client/src/components/portal-router/Routes.tsx b/client/packages/portal-client/src/components/portal-router/Routes.tsx index 63347005..dc3d3a59 100644 --- a/client/packages/portal-client/src/components/portal-router/Routes.tsx +++ b/client/packages/portal-client/src/components/portal-router/Routes.tsx @@ -18,7 +18,7 @@ export const getRoutes = (portalRoutes: PortalRouter): RouteObject[] => { children: [ { path: '/', - element: <PortalPage route={portalRoutes?.root} />, + element: <PortalPage route={{ ...portalRoutes?.root, path: '' }} />, errorElement: <PortalMessagePage title="Fail to load view page" type={'Error'} />, }, ...pages, diff --git a/client/packages/portal-client/vite.config.ts b/client/packages/portal-client/vite.config.ts index f6a999b1..5bc592ef 100644 --- a/client/packages/portal-client/vite.config.ts +++ b/client/packages/portal-client/vite.config.ts @@ -35,7 +35,7 @@ export default defineConfig(({ mode }) => { appProxyPlugin({ proxy: { path: '/apps-proxy', - target: 'https://fusion-s-apps-ci.azurewebsites.net/', + target: 'https://apps.ci.api.fusion-dev.net/', onProxyReq: (proxyReq, req, res) => { proxyReq.on('response', (res) => { console.log(res.statusMessage ?? `${res.statusCode} `, res.req?.path, res.statusCode);