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