fixing redirect
This commit is contained in:
parent
48d7bd016a
commit
33757bc359
3 changed files with 5 additions and 6 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue