Merge branch 'develop' into devTee

This commit is contained in:
setthawutttty 2025-02-05 14:51:23 +07:00
commit b4e3f0c52e

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) {