Avoiding a 401 with hosted woff, woff2, ttf files in IIS

I recently ran into an issue where we were hosting css, fonts and image files on a single site so that other sites on the intranet could access and use those shared resources. We had already enabled CORS in the web.config using: <system.webServer> <httpProtocol> <customHeaders> <add name=”Access-Control-Allow-Origin” value=”*” /> </customHeaders> </httpProtocol> </system.webServer> Plus we reset […]

Read more