Merge branch 'develop' into devTee

This commit is contained in:
setthawutttty 2025-02-13 15:59:01 +07:00
commit 00699a4ff8
5 changed files with 8 additions and 13 deletions

View file

@ -24,7 +24,7 @@ import LoginLinkage from "@/components/LoginLinkage.vue";
// landing page config url
const configParam = {
landingPageUrl: import.meta.env.VITE_URL_SSO,
landingPageUrl: import.meta.env.VITE_URL_LANDING,
};
const { setVerticalScrollPosition } = scroll;
const store = useDataStore();
@ -82,14 +82,7 @@ const options = ref<optionType[]>([
const modalLoginLinkage = ref<boolean>(false); // Linkage Center
// landing page redirect
const landingPageUrl = ref<string>(getLandingUrl());
function getLandingUrl() {
if (window.location.hostname === "bma-ehr.frappet.synology.me") {
return `${configParam.landingPageUrl}/e-hr`;
} else {
return configParam.landingPageUrl;
}
}
const landingPageUrl = ref<string>(configParam.landingPageUrl);
async function fetchmsgNoread() {
await http