diff --git a/micro-ui/web/packages/core/src/modules/registerRemotes.js b/micro-ui/web/packages/core/src/modules/registerRemotes.js index b913e662de1..da48b7136b9 100644 --- a/micro-ui/web/packages/core/src/modules/registerRemotes.js +++ b/micro-ui/web/packages/core/src/modules/registerRemotes.js @@ -24,7 +24,7 @@ export default (queryClient) => { registerApplication({ name: "Common", app: () => import("common/CommonModule"), - activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/${userType}/common`, //change to userType here + activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/${userType}/payment`, //change to userType here customProps: { title: "Common Module is running on host", queryClient, @@ -43,16 +43,16 @@ export default (queryClient) => { // }, // }); - // registerApplication({ - // name: "Dss", - // app: () => import("dss/DSSModule"), - // activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/dss`, - // customProps: { - // title: "DSS is running on host", - // queryClient, - // userType - // }, - // }); + registerApplication({ + name: "Dss", + app: () => import("dss/DSSModule"), + activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/dss`, + customProps: { + title: "DSS is running on host", + queryClient, + userType + }, + }); registerApplication({ name: "HRMS", diff --git a/micro-ui/web/packages/core/webpack.prod.js b/micro-ui/web/packages/core/webpack.prod.js index af7ecd567d7..fb9d5ec6fe1 100644 --- a/micro-ui/web/packages/core/webpack.prod.js +++ b/micro-ui/web/packages/core/webpack.prod.js @@ -23,7 +23,7 @@ module.exports = () => { common: `common@${domain}/common-ui/remoteEntry.js`, // pgr: `pgr@${domain}/pgr-ui/remoteEntry.js`, // workbench : `workbench@${domain}/workbench-mfe/remoteEntry.js`, - // dss : `dss@${domain}/dss-ui/remoteEntry.js`, + dss : `dss@${domain}/dss-ui/remoteEntry.js`, // measurement : `measurement@${domain}/measurement/remoteEntry.js` }, shared: packageJson.dependencies,