This is actually a configuration error, as described here
http://www.codepal.co.uk/show/WOFF_files_return_404_in_Azure_Web_Sites
The solution was to add the following to the web.config:
<system.webServer>
<staticContent>
<mimeMap fileExtension="woff" mimeType="application/font-woff" />
<mimeMap fileExtension="woff2" mimeType="application/font-woff" />
</staticContent>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment