Skip to content

Feat/modify refresh logic#175

Closed
json9512 wants to merge 5 commits intodevfrom
feat/modify-refresh-logic
Closed

Feat/modify refresh logic#175
json9512 wants to merge 5 commits intodevfrom
feat/modify-refresh-logic

Conversation

@json9512
Copy link

서버에서 내려주는 401 에러에 대한 처리 수정

  • 본래 request interceptor에 넣어주려 했으나, 사실 실패한 요청에 대한 처리만 잘해준다면 response interceptor에 넣어도 상관없음
    • request interceptor에 넣어주려면, jwt를 읽어서 만료시간을 확인할 필요가 있음
  • response interceptor에 있는 기존 로직을 활용하는 방향으로 PR 올림
  • 커서가 짠 코드긴 한데, 맥락상 제가 의도했던 코드와 비슷해서 참고하시면 될 것 같습니다. 제가 딱히 테스트 해볼 방법이 없어서 확인은 못해 봤습니다.

@vercel
Copy link

vercel bot commented Feb 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 22, 2025 3:42pm

@json9512
Copy link
Author

참고차 올린 PR이기에 닫아두겠습니다

@json9512 json9512 closed this Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant