用了七牛的表单上传,在本地可以成功实现,但是部署上线后,因为服务器设置为https的网址,所以被chrome浏览器禁止了向upload.qiniu.com发送post请求的动作,有哪些办法可以解决?
错误信息:
Mixed Content: The page at 'https://my-app-url' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://upload.qiniu.com/'. This request has been blocked; the content must be served over HTTPS.