fix landingPage

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-02-05 09:57:17 +07:00
parent 760a45cfb1
commit 7531b86b0f

View file

@ -236,7 +236,11 @@ function onInfo() {
// landing page redirect
const landingPageUrl = ref<string>(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) {