增加IIS字体请求支持
This commit is contained in:
parent
b302e7a1be
commit
0f330efc2e
|
@ -63,6 +63,20 @@
|
||||||
</httpModules>
|
</httpModules>
|
||||||
</system.web>
|
</system.web>
|
||||||
<system.webServer>
|
<system.webServer>
|
||||||
|
<staticContent>
|
||||||
|
<remove fileExtension=".woff"/>
|
||||||
|
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
|
||||||
|
<remove fileExtension=".woff2"/>
|
||||||
|
<mimeMap fileExtension=".woff2" mimeType="application/x-font-woff2" />
|
||||||
|
<remove fileExtension=".ttf" />
|
||||||
|
<mimeMap fileExtension=".ttf" mimeType="application/x-font-truetype" />
|
||||||
|
<remove fileExtension=".svg" />
|
||||||
|
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
|
||||||
|
<remove fileExtension=".otf" />
|
||||||
|
<mimeMap fileExtension=".otf" mimeType="application/x-font-opentype" />
|
||||||
|
<remove fileExtension=".eot" />
|
||||||
|
<mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
|
||||||
|
</staticContent>
|
||||||
<validation validateIntegratedModeConfiguration="false"/>
|
<validation validateIntegratedModeConfiguration="false"/>
|
||||||
<handlers>
|
<handlers>
|
||||||
<remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
|
<remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
|
||||||
|
|
Loading…
Reference in New Issue