When I test my website (ASP.NET) offline, my fonts are loaded correctly. When I deploy my website on Azure, I get this error message for the fonts in my browser.
Failed to load resource: the server responded with a status of 404 (Not Found)
I already put these lines in my Web.config file:
<system.webServer>
<staticContent>
<remove fileExtension=".woff" />
<remove fileExtension=".woff2" />
<remove fileExtension=".ttf" />
<mimeMap fileExtension=".woff" mimeType="application/x-woff" />
<mimeMap fileExtension=".woff2" mimeType="application/x-woff2" />
<mimeMap fileExtension=".ttf" mimeType="application/x-ttf" />
</staticContent>
I'm using the CSS framework materializecss.