magritton
8/7/2014 - 8:16 PM

Enabling cors on an iis server. I had to do this to allow ajax jquery call cross domain

Enabling cors on an iis server. I had to do this to allow ajax jquery call cross domain

<?xml version="1.0" encoding="utf-8"?>
<configuration>
 <system.webServer>
   <httpProtocol>
     <customHeaders>
       <add name="Access-Control-Allow-Origin" value="*" />
     </customHeaders>
   </httpProtocol>
 </system.webServer>
</configuration>