diff --git a/src/views/MainView.vue b/src/views/MainView.vue index 574b63b..c4b155c 100644 --- a/src/views/MainView.vue +++ b/src/views/MainView.vue @@ -143,14 +143,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') { - return `${configParam.landingPageUrl}/landing?mode=prod` - } else { - return `${configParam.landingPageUrl}/landing?mode=dev` - } + return `${configParam.landingPageUrl}/landing` } /** ฟังก์ชันเรียกข้อมูลผู้ใช่งาน*/