Software    csharp

I was working on this project as of late and came across this issue where I was getting 404 errors on all my .woff files. It is a quick fix simply requiring the addition of the mime type in the web.config file.

<system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true" />
    <staticContent>
        <mimeMap fileExtension=".woff"
                mimeType="application/x-font-woff" />
    </staticContent>
 </system.webServer>

Hope it helps.

comments powered by Disqus