-
카테고리
-
세부 분야
프론트엔드
-
해결 여부
해결됨
section09 포트폴리오 git clone으로 받아와서 등록해보면 Failed to fetch 오류가 생기는데 이유가 뭔가요?
24.01.08 14:57 작성 24.01.08 15:05 수정 조회수 100
0
오류가 나옵니다
new:1 Access to fetch at 'http://backend-practice.codebootcamp.co.kr/graphql' from origin 'http://localhost:3002' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header has a value 'http://localhost:3000' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
backend-practice.codebootcamp.co.kr/graphql:1
Failed to load resource: net::ERR_FAILED
답변을 작성해보세요.
0
노원두
지식공유자2024.01.09
안녕하세요! comjjang2님!
제공되는 부트캠프 백엔드서버에서는 정책에 따라 localhost:3000 주소로만 요청해 보실 수 있답니다!^^
답변 1