fixing
This commit is contained in:
parent
acc86a5908
commit
d5429ffcb5
1 changed files with 1 additions and 0 deletions
|
|
@ -145,6 +145,7 @@ function onLoad(index: number, done: Function) {
|
||||||
// landing page redirect
|
// landing page redirect
|
||||||
const landingPageUrl = ref<string>(getLandingUrl())
|
const landingPageUrl = ref<string>(getLandingUrl())
|
||||||
function getLandingUrl() {
|
function getLandingUrl() {
|
||||||
|
console.log('hostname===>', window.location.hostname)
|
||||||
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-checkin.frappet.com') {
|
} else if (window.location.hostname === 'bma-ehr-checkin.frappet.com') {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue