This commit is contained in:
Warunee Tamkoo 2024-11-22 18:14:13 +07:00
parent acc86a5908
commit d5429ffcb5

View file

@ -145,6 +145,7 @@ function onLoad(index: number, done: Function) {
// landing page redirect
const landingPageUrl = ref<string>(getLandingUrl())
function getLandingUrl() {
console.log('hostname===>', window.location.hostname)
if (window.location.hostname === 'bmasso.bma.go.th') {
return `${configParam.landingPageUrl}/landing?mode=dev`
} else if (window.location.hostname === 'bma-ehr-checkin.frappet.com') {