Merge branch 'develop' into NiceDev
This commit is contained in:
commit
28452ac380
2 changed files with 7 additions and 4 deletions
|
|
@ -234,7 +234,8 @@ function onInfo() {
|
|||
}
|
||||
|
||||
// landing page redirect
|
||||
const landingPageUrl = () => {
|
||||
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") {
|
||||
|
|
@ -242,7 +243,7 @@ const landingPageUrl = () => {
|
|||
} else {
|
||||
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
||||
}
|
||||
};
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- โครงเว็บ -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue