Skip to content

Commit

Permalink
๐Ÿ›  fix : return Promise.reject(error);
Browse files Browse the repository at this point in the history
  • Loading branch information
seondal committed Apr 12, 2024
1 parent 209f998 commit d070c7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/apis/config/privateApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ privateApi.interceptors.request.use(
alert('์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ์–ด์š”.');
}
location.href = '/auth/logout';
return Promise.reject(error);
}
);

Expand Down

0 comments on commit d070c7f

Please sign in to comment.