diff --git a/src/views/home.vue b/src/views/home.vue index ea696f7..6691dae 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -174,7 +174,7 @@ onMounted(async () => { { headers: { "Content-Type": "application/json", - uid: uid, + Cookie: `uid=${uid};`, }, withCredentials: true, // Include cookies with the request } @@ -200,7 +200,7 @@ onMounted(async () => { if (location.hostname == "hrms.chin.in.th") { router.push("/sso"); } else { - window.location.href = `${config.API.URL_SSO}`; + // window.location.href = `${config.API.URL_SSO}`; } });