Refused to apply style from 'http://localhost:8899/font_oo1c7zvf1ve/iconfont.css ' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
网上查的是静态路径放服务端环境没办法进行链接但是怎么都不对
网上查的是静态路径放服务端环境没办法进行链接但是怎么都不对
可以通过iis添加mime type类型解决。也可以通过配置文件添加配置项解决:
<system.webServer>
... ...
<staticContent>
<remove fileExtension=".css" />
<mimeMap fileExtension=".css" mimeType="text/html" />
</staticContent>
</system.webServer>