解决网页出现 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

posted on 2018-11-28 09:02  周大大  阅读(75347)  评论(0编辑  收藏  举报