The browser console was showing errors for woff
font type. So, in the site's web.config
I included this property and it was fixed.
<system.webServer>
......
......
<staticContent>
<mimeMap fileExtension=".woff" mimeType="application/font-woff"/>
</staticContent>
</system.webServer>
But, I want to add this property via a patch. I created a config in the VS project /App_Config/Include/MySite.config
as below and published:
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<system.webServer>
<staticContent>
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
</staticContent>
</system.webServer>
</sitecore>
</configuration>
In the site's showconfig.aspx
it is rendered as below, but the woff error in the console shows up.
<system.webServer patch:source="MySite.config">
<staticContent>
<mimeMap fileExtension=".woff" mimeType="application/font-woff"/>
</staticContent>
</system.webServer>
Am I including the patch in the right way?
Using Sitecore 8.0 with MVC