서버 사이드 렌더링(getServerSideProps
) 환경에서 인증 로직 사용하기
#313
punchdrunkard
started this conversation in
03.Technical
Replies: 1 comment
-
관련 PR |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
서버 사이드에서는 모듈화된 API 대신, axios 객체를 직접 만들어서 사용해주세요.
인증이 필요한 경우에는
authorizeFetch
함수를 사용하시면 됩니다.예제를 참고해주세요!
예제
Beta Was this translation helpful? Give feedback.
All reactions