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>
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
<script src="https://js.arcgis.com/4.19/"></script>
|
||||
<link
|
||||
<!-- <link
|
||||
rel="stylesheet"
|
||||
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>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ function onLoad(index: number, done: Function) {
|
|||
}
|
||||
|
||||
// landing page redirect
|
||||
const landingPageUrl = ref<string>(configParam.landingPageUrl)
|
||||
// const landingPageUrl = ref<string>(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
|
||||
)
|
||||
})
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -54,6 +54,10 @@ onMounted(async () => {
|
|||
if (checkAuthen) {
|
||||
router.push('/')
|
||||
}
|
||||
console.log(
|
||||
'import.meta.env.VITE_URL_LANDING',
|
||||
import.meta.env.VITE_URL_LANDING
|
||||
)
|
||||
})
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue