fix landingPage
This commit is contained in:
parent
760a45cfb1
commit
7531b86b0f
1 changed files with 5 additions and 1 deletions
|
|
@ -236,7 +236,11 @@ function onInfo() {
|
|||
// landing page redirect
|
||||
const landingPageUrl = ref<string>(getLandingUrl());
|
||||
function getLandingUrl() {
|
||||
return configParam.landingPageUrl;
|
||||
if (window.location.hostname === "bma-ehr-user.frappet.synology.me") {
|
||||
return `${configParam.landingPageUrl}/e-hr`;
|
||||
} else {
|
||||
return configParam.landingPageUrl;
|
||||
}
|
||||
}
|
||||
|
||||
function onViewDetailNoti(url: string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue