diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index d32c6ec..c478c0c 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -236,13 +236,7 @@ function onInfo() { // 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-user.frappet.com") { - return `${configParam.landingPageUrl}/landing?mode=prod`; - } else { - return `${configParam.landingPageUrl}/landing?mode=dev`; - } + return `${configParam.landingPageUrl}/landing`; }