DEV Community

Cover image for IIS .woff MIME type

IIS .woff MIME type

Adam K Dean
Blockchain Lead. Hacker. Founder. Amateur Radio, and all things engineering.
・1 min read

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.

Discussion (0)