fix hostname

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-22 16:56:49 +07:00
parent 4c35662eed
commit b4b5cc9797

View file

@ -327,7 +327,7 @@ const landingPageUrl = ref<string>(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-admin.frappet.com") {
return `${configParam.landingPageUrl}/landing?mode=prod`;
} else {
return `${configParam.landingPageUrl}/landing?mode=dev`;