From 0974c84b8d9143464410f361e2069c5c0c97d43e Mon Sep 17 00:00:00 2001 From: Br0wnHammer Date: Fri, 20 Feb 2026 00:34:23 +0530 Subject: [PATCH] feat: fe integration of new endpoint --- client/src/Utils/ApiClient.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/Utils/ApiClient.ts b/client/src/Utils/ApiClient.ts index b18f2dfbc..0fef9b4a0 100644 --- a/client/src/Utils/ApiClient.ts +++ b/client/src/Utils/ApiClient.ts @@ -61,7 +61,10 @@ export const initApiClient = (store: StoreType): void => { } if (error.response?.status === 401) { - if (window.location.pathname !== "/login") { + if ( + window.location.pathname !== "/login" && + !window.location.pathname.startsWith("/status/public") + ) { window.location.href = "/login"; } }