add rules of mime type for IIS

This commit is contained in:
printempw 2016-08-16 12:11:38 +08:00
parent 932d2c1cfb
commit 321262d737

View File

@ -1,6 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension="." mimeType="image/png" />
<remove fileExtension=".woff"/>
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
<remove fileExtension=".woff2"/>
<mimeMap fileExtension=".woff2" mimeType="application/x-font-woff2" />
</staticContent>
<!--
For rewrite to work install URL Rewrite Module via Web Platform Installer
-->