From 9c38122e4a6e996ef0fa6b556d3d380fd04bb9d8 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Mon, 10 Feb 2025 22:06:49 +0700 Subject: [PATCH] updated --- src/views/home.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}`; } });