Adam K Dean

IIS .woff MIME type

Published on 4 June 2014 at 15:06 by Adam

IIS does not have a MIME type set up for woffs. I don' t like this, it throws errors like this one:

GET http://localhost/fonts/glyphicons-halflings-regular.woff 404 (Not Found)

To fix this, add a MIME type for .woff as application/x-font-woff.

Don't just add application/x-woff or you'll get Chrome nagging you about resources interpreted as fonts but transferred with MIME types of application/x-woff.



This post was first published on 4 June 2014 at 15:06. It was filed under archive with tags iis, woff, mime.