0
기본 bitnami wordpress 설치가 있습니다. 나는 그들의 가이드와 설정 https 및 https 리디렉션에 자동 HTTP를 따랐다.아파치가 http에서 https로 Access-Control-Allow-Origin을 설정했습니다.
그러나 나는 다음과 같은 오류가 외부 스크립트를로드하려고 할 때 :
Failed to load https://external-script.com/: The 'Access-Control-Allow-Origin'
header has a value 'http://my-site.io' that is not equal to the supplied origin.
Origin 'https://my-site.io' is therefore not allowed access.
내가 어떤 파일을 편집해야 내가 무엇을 추가해야합니까? 감사합니다.
예, CORS가 갈 수있는 방법은 참으로 Jota. 행운을 빕니다! – Siyah