From 709fdb9a6d40c3150e89767ecb60355072f8df45 Mon Sep 17 00:00:00 2001 From: Christopher Berge Hove Date: Tue, 26 Nov 2024 09:58:56 +0100 Subject: [PATCH] fix: update portal routes and change proxy target URL --- .../portal-client/src/components/portal-router/Routes.tsx | 2 +- client/packages/portal-client/vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: , + element: , errorElement: , }, ...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);