공공데이터 OpenApi 사용 할려고 하는데..
-
xhr.js:166 Mixed Content: The page at 'https://worisanweather-antjp.run.goorm.io/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://newsky2.kma.go.kr/service/SecndSrtpdFrcstInfoService2/? 필요한 key 와 value값'. This request has been blocked; the content must be served over HTTPS.
라는 에러가 뜨네요.... 뭐가 문제일까요? ㅠㅠ -
@밤토깽이
요청하는 api 서버가 http 이기 때문에 브라우저에서 http 접속 허용하고, CORS 에러는 Express 로 cors 허용 프록시 서버 만들어서 요청하니 문제가 해결 됬네요... 휴...
-
http로 요청되서 그런 것 같은데.. https로 해보시겠어요?