fix landingPage
This commit is contained in:
parent
ad6898effc
commit
c33ece8586
1 changed files with 5 additions and 1 deletions
|
|
@ -84,7 +84,11 @@ const modalLoginLinkage = ref<boolean>(false); //เข้าสู่ระบ
|
||||||
// landing page redirect
|
// landing page redirect
|
||||||
const landingPageUrl = ref<string>(getLandingUrl());
|
const landingPageUrl = ref<string>(getLandingUrl());
|
||||||
function 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() {
|
async function fetchmsgNoread() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue