feat: fe integration of new endpoint

This commit is contained in:
Br0wnHammer committed 2026-02-20 00:34:23 +05:30
1 parent 600c937062
commit 0974c84b8d
1 file changed
+4 -1
+4 -1
View File
@@ -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";
}
}