cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

web.config messed up my web page

Hi

I put the following "web.config" into my webpage's root directory in order to be able to have access to json file located in the folder but unfortunately all web pages have been messed up and it seems "web.config" affected all the other files. do you know what the problem is? and how can I add there MIME type into the existing list?

 

<configuration>
     <system.webServer>
            <staticContent>
                  <mimeMap fileExtension=".json" mimeType="text/json" />
                  <mimeMap fileExtension=".json" mimeType="application/json" />
         </staticContent>
      system.webServer>
</configuration>