您的位置:首页 > 博客中心 > 前端开发 >

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

时间:2022-04-11 01:40

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

本类排行

今日推荐

热门手游