Last Updated: February 25, 2016
· macodev

Remove Chrome DevTools Font Warning

When loading webfonts in Google Chrome the DevTools can display this warning:

Resource interpreted as Font but transferred with MIME type font/x-woff

This means the webserver is serving the font file with incorrect MIME type.
You can ignore the warning, but when developing it can be annoying to see this warning every time - for every font loaded.

To correct the MIME type and get rid of the message, just edit your .htaccess and add

AddType application/font-woff .woff

That's all!