diff --git a/ssh-web/src/apis/interceptors.ts b/ssh-web/src/apis/interceptors.ts index 821e60f..1a43ead 100644 --- a/ssh-web/src/apis/interceptors.ts +++ b/ssh-web/src/apis/interceptors.ts @@ -27,9 +27,9 @@ api.interceptors.response.use( }, (error) => { showToast('error', '오류가 발생하였습니다.'); - if (error.response?.status === 401) { - window.location.href = '/login'; - } + // if (error.response?.status === 401) { + // window.location.href = '/login'; + // } return Promise.reject(error); }, );