From cf44705168e644f1b0b325fcfb6fa962f5d8e00c Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 22 Nov 2024 16:56:14 +0700 Subject: [PATCH] fix hostname --- src/views/MainLayout.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index c73f646..d32c6ec 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -238,7 +238,7 @@ 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") { + } else if (window.location.hostname === "bma-ehr-user.frappet.com") { return `${configParam.landingPageUrl}/landing?mode=prod`; } else { return `${configParam.landingPageUrl}/landing?mode=dev`; @@ -554,7 +554,6 @@ function getLandingUrl() { :src="dataStore.profileImg" class="border-100" spinner-color="white" - />