fixing landing dev only
This commit is contained in:
parent
0e20cf8415
commit
c69b1fcfe7
1 changed files with 1 additions and 7 deletions
|
|
@ -325,13 +325,7 @@ function handleButtonClick() {
|
|||
// 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-admin.frappet.com") {
|
||||
return `${configParam.landingPageUrl}/landing?mode=prod`;
|
||||
} else {
|
||||
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
||||
}
|
||||
return `${configParam.landingPageUrl}/landing`;
|
||||
}
|
||||
|
||||
/** ฟังก์ชันเรียกข้อมูลผู้ใช่งาน*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue