0
我有一个基本的bitnami wordpress安装。我遵循他们的指导并设置了https和自动http来https重定向。Apache设置访问控制允许来源http从https到https
然而,当我试图加载外部脚本,我得到以下错误:
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的确是要走的路。祝你好运! – Siyah