解决网页出现 net::ERR_ABORTED 404 (Not Found)问题

1、在web.config配置文件中添加woff字体的MIME类型

在Web.config中的system.webServer节点添加

<staticContent>

<remove fileExtension=".woff" />

<mimeMap fileExtension=".woff" mimeType="font/x-font-woff" />

</staticContent>

2、在IIS中添加woff字体的MIME类型

技术分享图片

参考:https://shiyousan.com/post/635398568799806827

文章来自:https://www.cnblogs.com/sunshine-zhouqin/p/10030179.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3