fixing check uid cookie & redirect

This commit is contained in:
Warunee Tamkoo 2025-03-24 09:00:19 +07:00
parent 3dfc3205bb
commit f4f77b6255

View file

@ -225,6 +225,12 @@ onMounted(async () => {
//
getName();
} else {
if (location.hostname != "hrms.bangkok.go.th") {
router.push("/sso");
} else {
window.location.href = `${config.API.URL_SSO}`;
}
}
});
</script>