WEB
[Trouble Shooting] CORS 에러 ->> The request client is not a secure context and the resource is in more-private address space `private`.
전주호
2023. 5. 31. 13:17
반응형
React 클라이언트를 AWS S3에 배포하면서
로컬 상황에서는 없었던 CORS 오류가 생겼다.
서버에 CORS 허용 헤더를 넣었지만 생기는 오류이다.
브라우저 설정을 통해 해결할 수 있다.
( 크롬 )
chrome://flags/#block-insecure-private-network-requests
이 설정을 disabled 해준다.
반응형