javascript - 七牛上传的时候有https://up.qiniu.com吗
PHP中文网
PHP中文网 2017-04-10 14:52:39
0
1
306

有人有同样的问题:http://segmentfault.com/q/1010000002420331

写到已解决,怎么解决的呢?

全站https,如果ajax发出一个不是http说的,会造成Mixed Content

Mixed Content: The page at 'https://xxx.com/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://up.qiniu.com/'. This request has been blocked; the content must be served over HTTPS.

如果解决?

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
黄舟

七牛有https的上传host,https://up.qbox.me

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template