fix test
This commit is contained in:
parent
b3aeda65bd
commit
c4fcfbef76
3 changed files with 12 additions and 3 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue