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