From d5429ffcb5f93358bbee7db61783f2aa69c8e0cc Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Fri, 22 Nov 2024 18:14:13 +0700 Subject: [PATCH] fixing --- src/views/MainView.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/MainView.vue b/src/views/MainView.vue index 74c2d0b..0209c42 100644 --- a/src/views/MainView.vue +++ b/src/views/MainView.vue @@ -145,6 +145,7 @@ function onLoad(index: number, done: Function) { // landing page redirect const landingPageUrl = ref(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') {