Skip to content

Conversation

@junjeeong
Copy link
Collaborator

Pull requests

✅ 작업한 내용

  • HOME 페이지에서 token이 객체로 들어가 error 나는 문제 해결했습니다
  • StrokeBanner 클릭시 virtualFriend가 아닌 fast-friend로 가는 문제 해결했습니다
  • 개발자 모드 떄는 kakao-login의 ridrectUrl가 자동으로 local로 오도록 하는 부분, useAuthStore-> login 함수의 uri가 달라야 하는 부분 import.env.MODE 통해서 자동화했습니다.

🔢 #221

❗️PR Point

  • 없음

📸 스크린샷

…가는문제, 3.production mode에 따라서 kakao-login redirectUrl 다르게 하는 부분 자동화 추가
@junjeeong junjeeong requested a review from Soohyuniii April 24, 2025 09:35
@junjeeong junjeeong self-assigned this Apr 24, 2025
@junjeeong junjeeong linked an issue Apr 24, 2025 that may be closed by this pull request

try {
const response = await instance.post<FriendResponse>(
const response = await authInstance.post<FriendResponse>(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

// 아래 코드는 백엔드팀에서 작업해주시면 동일한 uri로 바뀔 예정 -> 4.24 정준영
import.meta.env.MODE === "production"
? `/api/kakao/login?code=${code}`
: `/api/kakao/login?code=${code}&redirectUrl=https://localhost:5173/kakao-login`;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@junjeeong junjeeong merged commit 29a0e2a into dev Apr 24, 2025
1 check passed
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.

Bug: 홈페이지 접속시, Error 페이지 렌더링 되는 문제

3 participants