Home  >  Q&A  >  body text

javascript - 谷歌字体代理的问题

Mixed Content: The page at 'https://....../' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.lug.ustc.edu.cn/...'. This request has been blocked; the content must be served over HTTPS.

引用了谷歌字体代理但是在github pages里显示不了,用本来的又被墙,该怎么解决???

PHP中文网PHP中文网2653 days ago324

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-04-11 12:56:39

    试试换成七牛的源

    http://fonts.gmirror.org/

    然后看你上面贴的问题,应该是你的网站是https协议,但是你引用的资源是http协议,你把源改成https的试试吧

    reply
    0
  • Cancelreply