Home  >  Q&A  >  body text

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中文网2654 days ago296

reply all(1)I'll reply

  • 黄舟

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

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

    reply
    0
  • Cancelreply