fix landingPage
This commit is contained in:
parent
92b449ca8d
commit
ce70a45182
1 changed files with 5 additions and 1 deletions
|
|
@ -325,7 +325,11 @@ function handleButtonClick() {
|
||||||
// landing page redirect
|
// landing page redirect
|
||||||
const landingPageUrl = ref<string>(getLandingUrl());
|
const landingPageUrl = ref<string>(getLandingUrl());
|
||||||
function getLandingUrl() {
|
function getLandingUrl() {
|
||||||
return configParam.landingPageUrl;
|
if (window.location.hostname === "bma-ehr-admin.frappet.synology.me") {
|
||||||
|
return `${configParam.landingPageUrl}/e-hr`;
|
||||||
|
} else {
|
||||||
|
return configParam.landingPageUrl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** ฟังก์ชันเรียกข้อมูลผู้ใช่งาน*/
|
/** ฟังก์ชันเรียกข้อมูลผู้ใช่งาน*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue