Merged
Conversation
Closed
2 tasks
|
Caution Review failedThe pull request is closed. Summary by CodeRabbit
WalkthroughaxiosInstance의 baseURL을 환경변수 기반 URL에서 '/api'로 변경. Vite 설정을 함수형으로 전환하고 loadEnv로 환경변수를 로드. 개발 서버에 '/api' 프록시를 추가하여 VITE_API_BASE_URL로 포워딩하며 경로 재작성('/api' 제거)과 보안/오리진 설정을 적용. Changes
Sequence Diagram(s)sequenceDiagram
participant B as Browser (Axios)
participant F as Frontend (/api baseURL)
participant V as Vite Dev Server (Proxy)
participant S as Backend API (VITE_API_BASE_URL)
B->>F: axios 요청 to /api/...
F->>V: HTTP /api/...
V->>V: /api prefix 제거 (rewrite)
V->>S: 포워딩 to VITE_API_BASE_URL/...
S-->>V: 응답
V-->>F: 프록시 응답
F-->>B: 응답 반환
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (2)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
Status, Documentation and Community
|
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.
🚨 관련 이슈
#102
✨ 변경사항
✏️ 작업 내용
😅 미완성 작업
N/A
📢 논의 사항 및 참고 사항