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
|
// 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-user.frappet.synology.me") {
|
||||||
|
return `${configParam.landingPageUrl}/e-hr`;
|
||||||
|
} else {
|
||||||
|
return configParam.landingPageUrl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function onViewDetailNoti(url: string) {
|
function onViewDetailNoti(url: string) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue