-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fix] 채팅 관련 API V2 연결 #170
Conversation
[Feat] 이용 약관 및 개인정보 보호 페이지 제작
[Fix] useSearchParams 클라이언트 실행을 위한 Suspense 설정
[Fix] policy 페이지 Suspense 내 children 추가
✅ Deploy Preview for gamegoodev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
src/api/chat.ts
Outdated
}: ChatRoomBoardRequest): Promise<chatRoomBoardResponse> => { | ||
try { | ||
const response = await AuthAxios.get( | ||
`http://13.124.213.255:8080/api/v2/chat/start/board/${boardId}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
용혁님! AuthAxios
랑 Axios
모듈은 env에서 base url을 가져오기 때문에, 직접 base url을 다 넣을 필요 없이 엔드포인트만 넣으시고 env에서 NEXT_PUBLIC_BASE_URL 바꿔 사용하시면 됩니다🙌🏻
아래에도 이렇게 사용하신 부분이 많은데, 그럼 요청이 제대로 안 가지 않나요!?
배포 에러 수정하시느라 고생 많으셨습니다ㅜㅎㅎ 머지할게요! |
연관 이슈
close #160
📁 작업 내용