From c69b1fcfe759c249677632a700bdff99baa7e98a Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Sat, 11 Jan 2025 11:27:28 +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 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`; } /** ฟังก์ชันเรียกข้อมูลผู้ใช่งาน*/