diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index 9712517f2..bfa7c088b 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -84,13 +84,7 @@ const modalLoginLinkage = ref(false); //เข้าสู่ระบ // 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.frappet.com") { - return `${configParam.landingPageUrl}/landing?mode=prod`; - } else { - return `${configParam.landingPageUrl}/landing?mode=dev`; - } + return `${configParam.landingPageUrl}/landing`; } async function fetchmsgNoread() {