搜索

首页  >  问答  >  正文

javascript - 七牛上传的时候有https://up.qiniu.com吗

有人有同样的问题: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中文网2908 天前307

全部回复(1)我来回复

  • 黄舟

    黄舟2017-04-10 14:54:39

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

    回复
    0
  • 取消回复