[FEAT] API 연동 에러 수정 - #21
Merged
Merged
Conversation
실 백엔드(koslink-api.hwangonjang.com)가 /api/news가 아니라 /api/v1/news 형태의 버전 프리픽스를 요구하는 것을 확인. http.ts의 ky prefix를 /api/v1로 바꾸고, dev 모드에서 여전히 요청을 가로채도록 news/analysis/ graph/verify MSW 핸들러 경로도 동일하게 맞춤. nginx.conf는 /api/ 프리픽스 매치라 별도 수정 불필요. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
실 백엔드에 GET /verify가 없어 API/MSW를 거치지 않고 verify.json을 클라이언트에서 직접 페이징하도록 변경(전체 관계망 graph.json과 동일한 패턴). mocks/verify/handlers.ts 삭제, apis/verify/queries.ts는 http.get 대신 getVerify()를 로컬에서 바로 호출. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Closed
1 task
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (10)
📝 WalkthroughWalkthrough공통 API 경로를 ChangesAPI 경로 및 검증 목업 전환
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested labels: ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
👥 작업 배경 및 목적
🛠️ 주요 변경 사항
api 경로 변경
검증 기능 아직 미지원으로 mocking api 대신 json 데이터 추가
🧪 테스트 결과 (선택)
Summary by CodeRabbit