From 0217ee122dc7aa7734bc2b5f51e5e5bb34956790 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Sat, 11 Jan 2025 11:25:08 +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 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`; }