CORS 이슈, Proxy 설정

uphoon·2022년 10월 6일

Cross-Origin-Resource Sharing
서버주소와 클라이언트 주소가 다르기 때문에 허용되지않는 문제.

어떻게 고칠까?
proxy를 사용한다 클라이언트 쪽에 proxy설치

https://create-react-app.dev/docs/proxying-api-requests-in-development

profile
혼자 끄적여보는 필기 저장소 | 잠깐쓰고 잊지말고 기록하는 습관.

0개의 댓글