sunshine-zhouqin

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

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-07-10
  • 2022-01-01
  • 2022-12-23
  • 2021-12-05
  • 2021-11-07
  • 2022-01-12
  • 2021-11-18
猜你喜欢
  • 2021-11-16
  • 2022-02-08
  • 2021-11-13
  • 2022-02-20
  • 2021-12-03
相关资源
相似解决方案