diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index cc52f6f4..4891c741 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -325,13 +325,7 @@ function handleButtonClick() { // landing page redirect const landingPageUrl = ref(getLandingUrl()); function getLandingUrl() { - if (window.location.hostname === "bmasso.bma.go.th") { - return `${configParam.landingPageUrl}/landing?mode=dev`; - } else if (window.location.hostname === "bma-ehr-admin.frappet.com") { - return `${configParam.landingPageUrl}/landing?mode=prod`; - } else { - return `${configParam.landingPageUrl}/landing?mode=dev`; - } + return `${configParam.landingPageUrl}/landing`; } /** ฟังก์ชันเรียกข้อมูลผู้ใช่งาน*/