Skip to content

[Fix] API URL 이중 경로 문제 수정 및 로그아웃 시 쿠키 삭제 보장#688

Merged
rtttr1 merged 1 commit intodevelopfrom
fix/#687/api-url-path
Feb 12, 2026
Merged

[Fix] API URL 이중 경로 문제 수정 및 로그아웃 시 쿠키 삭제 보장#688
rtttr1 merged 1 commit intodevelopfrom
fix/#687/api-url-path

Conversation

@rtttr1
Copy link
Copy Markdown
Collaborator

@rtttr1 rtttr1 commented Feb 12, 2026

📌 Related Issues

✅ 체크 리스트

  • PR 제목의 형식을 잘 작성했나요? e.g. [Feat] PR 템플릿 작성
  • 빌드가 성공했나요? (pnpm build)
  • 리뷰어와 라벨을 지정했나요?

📄 Tasks

  • 배포 환경에서 api 주소가 /api/api 로 가는 문제가 있어 수정합니다.

⭐ PR Point

📷 Screenshot

🔔 ETC

- apiURL.ts: 모든 URL에서 api/ 접두사 제거 (api/v1/... → v1/...)
- kyInstance.ts: 서버 prefixUrl을 BACKEND_BASE_URL/api로 설정
- [...path]/route.ts: BFF 프록시 path에 /api 추가
- _authFetch.ts: 백엔드 URL 구성에 api/ 추가
- middleware.ts: fetch URL에 api/ 추가
- logout/route.ts: 백엔드 응답과 무관하게 쿠키 항상 삭제

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@github-actions github-actions Bot added 🔧 Fix 버그 수정 규홍 슈퍼주니-어에요 labels Feb 12, 2026
@github-actions
Copy link
Copy Markdown

✅ Storybook 배포 완료! 🔗 https://67e4fd1fd2c7078dceec04a4-ambmrlajds.chromatic.com/

@rtttr1 rtttr1 changed the title [Fix] API URL 이중 경로 문제 수정 및 로그아웃 시 쿠키 삭제 보장 (#687) [Fix] API URL 이중 경로 문제 수정 및 로그아웃 시 쿠키 삭제 보장 Feb 12, 2026
@rtttr1 rtttr1 merged commit 860565a into develop Feb 12, 2026
5 of 6 checks passed
@rtttr1 rtttr1 deleted the fix/#687/api-url-path branch February 12, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

규홍 슈퍼주니-어에요 🔧 Fix 버그 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: API URL 이중 경로 문제 수정 및 로그아웃 시 쿠키 삭제 보장

1 participant