해결된 질문
작성
·
395
0
이미지 업로드 테스트시 CORS 관련 에러가 발생됩니다.
Access to fetch at 'http://practice.codebootcamp.co.kr/graphql' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
답변 2
0
0
안녕하세요 dreaminliner 님!
지금 서버를 확인해본 결과 서버가 죽어있었습니다.
지금 다시 살려두었습니다. 다시 확인 부탁드립니다.
확인해보시고 다시 답글 남겨주세요!
감사합니다.😄
현재도 에러가 계속되고 있습니다.
코드는 잘 따라서 작성한 것 같은데 어떤 부분이 문제일까요?
GET https://storage.googleapis.com/ 400
index.tsx?f1ff:27 File {name: 'naver.png', lastModified: 1674047798623, lastModifiedDate: Wed Jan 18 2023 22:16:38 GMT+0900 (한국 표준시), webkitRelativePath: '', size: 10004, …}
19-01-image-upload:1 Access to fetch at 'http://practice.codebootcamp.co.kr/graphql' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
createUploadLink.js?7a15:208 POST http://practice.codebootcamp.co.kr/graphql net::ERR_FAILED 502 (Bad Gateway)