Merge branch 'develop' into devTee

This commit is contained in:
setthawutttty 2025-02-05 14:52:00 +07:00
commit a001797a2d

View file

@ -84,7 +84,11 @@ const modalLoginLinkage = ref<boolean>(false); //เข้าสู่ระบ
// landing page redirect
const landingPageUrl = ref<string>(getLandingUrl());
function getLandingUrl() {
return configParam.landingPageUrl;
if (window.location.hostname === "bma-ehr.frappet.synology.me") {
return `${configParam.landingPageUrl}/e-hr`;
} else {
return configParam.landingPageUrl;
}
}
async function fetchmsgNoread() {