diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index 8462eab..f6feb70 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -236,7 +236,11 @@ function onInfo() { // landing page redirect const landingPageUrl = ref(getLandingUrl()); function getLandingUrl() { - return configParam.landingPageUrl; + if (window.location.hostname === "bma-ehr-user.frappet.synology.me") { + return `${configParam.landingPageUrl}/e-hr`; + } else { + return configParam.landingPageUrl; + } } function onViewDetailNoti(url: string) {