我通过link标签加载web字体:<link href="https://fonts.font.im/css?family=Josefin+Sans" rel="stylesheet">
本地测试没有问题,可以加载成功,但是一放到服务器上就报错了:
图中错误信息如下:
Mixed Content: The page at 项目链接... but requested an insecure font 字体链接... . This request has been blocked; the content must be served over HTTPS.
貌似是由于https和http的问题引起的,但是我的域名和请求的字体链接都是https啊,为什么会出错呢?