Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
themerous committed Sep 4, 2024
1 parent 6f7093c commit 45d06aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/apiAxiosInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ apiAxiosInstance.interceptors.request.use(
apiAxiosInstance.interceptors.response.use(
response => {
if (typeof window !== 'undefined') {
console.log('응답:', response);
const accessToken = response.headers['accessToken'];
if (accessToken) {
localStorage.setItem('custom-auth-token', accessToken);
Expand Down

0 comments on commit 45d06aa

Please sign in to comment.