Easily add in the woff mime-type with the below command:
1 |
%systemroot%\system32\inetsrv\appcmd set config /section:staticContent /+“[fileExtension=’.woff’,mimeType=’application/font-woff’]” |
To note, the above placed the configuration within the applicationHost.config and not in a web.config. As desired in my scenario as I had wanted the configuration to be server wide.
Leave a Reply