fix hostname
This commit is contained in:
parent
f3d275df0a
commit
acc86a5908
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ 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') {
|
||||
} else if (window.location.hostname === 'bma-ehr-checkin.frappet.com') {
|
||||
return `${configParam.landingPageUrl}/landing?mode=prod`
|
||||
} else {
|
||||
return `${configParam.landingPageUrl}/landing?mode=dev`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue