Skip to content

Commit

Permalink
fix/#68: 인터셉터 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
altys31 committed Aug 30, 2024
1 parent 8f51ade commit 92936c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ssh-web/src/apis/interceptors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
);

0 comments on commit 92936c9

Please sign in to comment.