fix hostname
This commit is contained in:
parent
35d557ae0e
commit
cf44705168
1 changed files with 1 additions and 2 deletions
|
|
@ -238,7 +238,7 @@ const landingPageUrl = ref<string>(getLandingUrl());
|
||||||
function getLandingUrl() {
|
function getLandingUrl() {
|
||||||
if (window.location.hostname === "bmasso.bma.go.th") {
|
if (window.location.hostname === "bmasso.bma.go.th") {
|
||||||
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
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`;
|
return `${configParam.landingPageUrl}/landing?mode=prod`;
|
||||||
} else {
|
} else {
|
||||||
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
return `${configParam.landingPageUrl}/landing?mode=dev`;
|
||||||
|
|
@ -554,7 +554,6 @@ function getLandingUrl() {
|
||||||
:src="dataStore.profileImg"
|
:src="dataStore.profileImg"
|
||||||
class="border-100"
|
class="border-100"
|
||||||
spinner-color="white"
|
spinner-color="white"
|
||||||
|
|
||||||
/>
|
/>
|
||||||
</q-avatar>
|
</q-avatar>
|
||||||
<q-menu>
|
<q-menu>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue