fixing
This commit is contained in:
parent
9f89c0fd74
commit
6ad2fe4fb9
1 changed files with 2 additions and 1 deletions
|
|
@ -142,7 +142,8 @@ function onLoad(index: number, done: Function) {
|
|||
}
|
||||
|
||||
// landing page redirect
|
||||
const landingPageUrl = () => {
|
||||
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') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue