Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (5.8k points)

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?

1 Answer

0 votes
by (9.6k points)

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>

You can refer to this blog: click here

Related questions

0 votes
1 answer
asked Dec 15, 2020 in Azure by dante07 (13.1k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...