Skip to content

Icons not showing in prod on Azure #14988

Discussion options

You must be logged in to vote

solution: create a web.config file like this

'<'?xml version="1.0" encoding="UTF-8"?'>' <configuration> <system.webServer> <staticContent> <remove fileExtension="woff"/> <mimeMap fileExtension="woff" mimeType="application/font-woff" /> <remove fileExtension="woff2"/> <mimeMap fileExtension="woff2" mimeType="application/font-woff" /> <remove fileExtension=".json"/> <mimeMap fileExtension=".json" mimeType="application/json" /> <remove fileExtension=".svg"/> <mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> </staticContent> </system.webServer> </configuration>

More details: https://social.msdn.microsoft.com/Forums/azure/en-US/4143086a-e02d-48bf-a32c-d1a2a78b58c4/deploying-app-service…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zycki-gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant