Skip to content

Comments

fix : cors 에러 수정#50

Merged
seyun31 merged 2 commits intomainfrom
fix/49-api-cors
Feb 4, 2026
Merged

fix : cors 에러 수정#50
seyun31 merged 2 commits intomainfrom
fix/49-api-cors

Conversation

@yerimi00
Copy link
Contributor

@yerimi00 yerimi00 commented Feb 4, 2026

작업 내용

로컬 개발 환경에서 API 호출 시 CORS 에러가 발생하거나, 일부 API가 프록시 서버를 타지 않고 백엔드 도메인(api.realmatch.co.kr)으로 직접 요청되는 문제를 해결하기 위한 설정 변경 작업입니다.

변경 사항

현재 프론트엔드 .env 파일의 VITE_API_BASE_URL이 백엔드 실제 주소(https://api.realmatch.co.kr/)로 설정되어 있어, Axios가 Vite의 프록시 설정을 무시하고 직접 요청을 보내고 있습니다.

스크린샷 (선택사항)

@yerimi00 yerimi00 self-assigned this Feb 4, 2026
@yerimi00 yerimi00 added the bug Something isn't working label Feb 4, 2026
@yerimi00 yerimi00 linked an issue Feb 4, 2026 that may be closed by this pull request
@vercel
Copy link

vercel bot commented Feb 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
fe Ready Ready Preview, Comment Feb 4, 2026 11:21am
realmatch Ready Ready Preview, Comment Feb 4, 2026 11:21am

@seyun31 seyun31 merged commit a716204 into main Feb 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FIX] api 통신 프록시 문제 해결

2 participants