我們服務器 目前想使用多個域名 來執行 返回圖片給客戶 但是
Access to Image at 'http://www.zuiwuliao.cn/53678555f7462a12d69008848ce24902.png' from origin 'https://www.ceshinadianshi.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.ceshinadianshi.com' is therefore not allowed access.
這是console返回的結果 查詢了一下 是跨域的問題 主域名 是http 想跨域的域名 是https 這協議不同 另外一個想跨域的域名是 域名不同 請問有什麼辦法能解決
讓http://www.zuiwuliao.cn 這個域名下生成的圖片 在https下也能生成的出來?
http://www.zuiwuliao.cn/funny/65.html 這個是可以正常生成的
https://www.ceshinadianshi.com/funny/159.html這是跨域無法生成的
希望有人能提供 修改的方式 感激