From f7c398d555fd6a41c2c2f591fe2a938c7672c7e9 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Sat, 11 Jan 2025 11:24:07 +0700 Subject: [PATCH] fixing landing dev only --- src/views/MainLayout.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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() {