Back
Does anyone know if it is possible to add the SVG mime type to a Windows Azure Website? I tried with a web.config file but that only broke my website.
Is this a limitation of the current preview or am I missing something?
Here is a sample code that will help:
<configuration> <system.webServer> <staticContent> <remove fileExtension=".svg"/> <mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> </staticContent> </system.webServer></configuration>
<configuration>
<system.webServer>
<staticContent>
<remove fileExtension=".svg"/>
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
</staticContent>
</system.webServer>
</configuration>
You can refer to this blog: click here
30.9k questions
32.9k answers
500 comments
665 users