This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-03-17 09:24:14 +07:00
parent b3aeda65bd
commit c4fcfbef76
3 changed files with 12 additions and 3 deletions

View file

@ -20,10 +20,10 @@
<div id="app"></div> <div id="app"></div>
<script type="module" src="/src/main.ts"></script> <script type="module" src="/src/main.ts"></script>
<script src="https://js.arcgis.com/4.19/"></script> <script src="https://js.arcgis.com/4.19/"></script>
<link <!-- <link
rel="stylesheet" rel="stylesheet"
href="https://js.arcgis.com/4.19/esri/themes/light/main.css" href="https://js.arcgis.com/4.19/esri/themes/light/main.css"
/> />
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBzPSF5NxUZ1G8DKBnJvJPTqCR0Ct2xf58&libraries=places"></script> <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBzPSF5NxUZ1G8DKBnJvJPTqCR0Ct2xf58&libraries=places"></script> -->
</body> </body>
</html> </html>

View file

@ -160,7 +160,7 @@ function onLoad(index: number, done: Function) {
} }
// landing page redirect // landing page redirect
const landingPageUrl = ref<string>(configParam.landingPageUrl) // const landingPageUrl = ref<string>(configParam.landingPageUrl)
/** ฟังก์ชันเรียกข้อมูลผู้ใช่งาน*/ /** ฟังก์ชันเรียกข้อมูลผู้ใช่งาน*/
async function fetchKeycloakPosition() { async function fetchKeycloakPosition() {
@ -291,6 +291,11 @@ onMounted(async () => {
if (checkTokenParsed != null) { if (checkTokenParsed != null) {
fullName.value = checkTokenParsed.name fullName.value = checkTokenParsed.name
} }
console.log('configParam.landingPageUrl', configParam.landingPageUrl)
console.log(
'import.meta.env.VITE_URL_LANDING',
import.meta.env.VITE_URL_LANDING
)
}) })
</script> </script>

View file

@ -54,6 +54,10 @@ onMounted(async () => {
if (checkAuthen) { if (checkAuthen) {
router.push('/') router.push('/')
} }
console.log(
'import.meta.env.VITE_URL_LANDING',
import.meta.env.VITE_URL_LANDING
)
}) })
</script> </script>