fixing landing dev only
This commit is contained in:
parent
de5c82b7ef
commit
f7c398d555
1 changed files with 1 additions and 7 deletions
|
|
@ -84,13 +84,7 @@ const modalLoginLinkage = ref<boolean>(false); //เข้าสู่ระบ
|
|||
// landing page redirect
|
||||
const landingPageUrl = ref<string>(getLandingUrl());
|
||||
function getLandingUrl() {
|
||||
if (window.location.hostname === "bmasso.bma.go.th") {
|
||||
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
||||
} else if (window.location.hostname === "bma-ehr.frappet.com") {
|
||||
return `${configParam.landingPageUrl}/landing?mode=prod`;
|
||||
} else {
|
||||
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
||||
}
|
||||
return `${configParam.landingPageUrl}/landing`;
|
||||
}
|
||||
|
||||
async function fetchmsgNoread() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue