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

时间:2018-11-28 11:17:17   收藏:0   阅读:27621

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!