diff --git a/index.html b/index.html index 3d71b38..4828cc4 100644 --- a/index.html +++ b/index.html @@ -20,10 +20,10 @@
- - + --> diff --git a/src/views/MainView.vue b/src/views/MainView.vue index 8b215c7..9f5f853 100644 --- a/src/views/MainView.vue +++ b/src/views/MainView.vue @@ -160,7 +160,7 @@ function onLoad(index: number, done: Function) { } // landing page redirect -const landingPageUrl = ref(configParam.landingPageUrl) +// const landingPageUrl = ref(configParam.landingPageUrl) /** ฟังก์ชันเรียกข้อมูลผู้ใช่งาน*/ async function fetchKeycloakPosition() { @@ -291,6 +291,11 @@ onMounted(async () => { if (checkTokenParsed != null) { fullName.value = checkTokenParsed.name } + console.log('configParam.landingPageUrl', configParam.landingPageUrl) + console.log( + 'import.meta.env.VITE_URL_LANDING', + import.meta.env.VITE_URL_LANDING + ) }) diff --git a/src/views/login.vue b/src/views/login.vue index df02614..5600401 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -54,6 +54,10 @@ onMounted(async () => { if (checkAuthen) { router.push('/') } + console.log( + 'import.meta.env.VITE_URL_LANDING', + import.meta.env.VITE_URL_LANDING + ) })