diff --git a/web/src/app/infra/http/HttpClient.ts b/web/src/app/infra/http/HttpClient.ts index 192566a0..a8bb53cc 100644 --- a/web/src/app/infra/http/HttpClient.ts +++ b/web/src/app/infra/http/HttpClient.ts @@ -129,9 +129,9 @@ class HttpClient { const errMessage = data?.message || error.message; switch (status) { - // case 401: - // window.location.href = "/login"; - // break; + case 401: + window.location.href = "/login"; + break; case 403: console.error("Permission denied:", errMessage); break;