fixing
This commit is contained in:
parent
ec0dd6c3ad
commit
dd7bcb158c
1 changed files with 3 additions and 2 deletions
|
|
@ -322,7 +322,8 @@ function handleButtonClick() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// landing page redirect
|
// landing page redirect
|
||||||
const landingPageUrl = () => {
|
const landingPageUrl = ref<string>(getLandingUrl());
|
||||||
|
function getLandingUrl() {
|
||||||
if (window.location.hostname === "bmasso.bma.go.th") {
|
if (window.location.hostname === "bmasso.bma.go.th") {
|
||||||
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
||||||
} else if (window.location.hostname === "bma-ehr.frappet.com") {
|
} else if (window.location.hostname === "bma-ehr.frappet.com") {
|
||||||
|
|
@ -330,7 +331,7 @@ const landingPageUrl = () => {
|
||||||
} else {
|
} else {
|
||||||
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ฟังก์ชัน watch การเปลี่ยนแปลงของค่า notiTrigger
|
* ฟังก์ชัน watch การเปลี่ยนแปลงของค่า notiTrigger
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue