【发布时间】:2015-12-04 08:03:27
【问题描述】:
.woff 文件出现 404 错误。即使我按照Proper MIME type for .woff2 fonts 中的说明将 .woff 添加到 IIS 中的 MIME 类型,我仍然收到 404 错误。它适用于 IE,但不适用于 chrome。任何指针?我无法将以下内容添加到 web.config。
<system.web>
...
<staticContent>
<remove fileExtension=".woff2" />
<mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
</staticContent>
</system.web>
任何指针将不胜感激。
【问题讨论】:
-
我们在看什么?因为 XML 绝对不是 HTML、CSS 和/或 JS。
标签: google-chrome iis fonts woff2