错误内容如下:

glyphicons-halflings-regular.woff2 not found 前台错误修正

首先在 web.config 里面加上如下内容:

  <system.webServer>
    <staticContent>
      <remove fileExtension=".woff" />
      <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
      <remove fileExtension=".woff2" />
      <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
    </staticContent>
  </system.webServer>

其次,在 IIS 的MIME 类型中追加上面指定的两种文件类型

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
  • 2021-11-11
  • 2021-06-22
  • 2021-04-04
  • 2021-11-04
猜你喜欢
  • 2022-01-01
  • 2021-10-19
  • 2021-09-09
  • 2022-01-05
  • 2021-12-27
  • 2021-12-15
相关资源
相似解决方案