Skip to content

Commit

Permalink
fix: update portal routes and change proxy target URL (#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggling authored Nov 26, 2024
1 parent ce93bab commit baeeb73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion client/packages/portal-client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit baeeb73

Please sign in to comment.