fixing redirect

This commit is contained in:
Warunee Tamkoo 2025-02-13 15:34:46 +07:00
parent 48d7bd016a
commit 33757bc359
3 changed files with 5 additions and 6 deletions

View file

@ -19,7 +19,7 @@ const $q = useQuasar()
// landing page config url
const configParam = {
landingPageUrl: import.meta.env.VITE_URL_SSO,
landingPageUrl: import.meta.env.VITE_URL_LANDING,
}
const fullName = ref<string>('') //
@ -141,10 +141,7 @@ function onLoad(index: number, done: Function) {
}
// landing page redirect
const landingPageUrl = ref<string>(getLandingUrl())
function getLandingUrl() {
return configParam.landingPageUrl
}
const landingPageUrl = ref<string>(configParam.landingPageUrl)
/** ฟังก์ชันเรียกข้อมูลผู้ใช่งาน*/
async function fetchKeycloakPosition() {