Cors
No edit summary
No edit summary
Line 10: Line 10:
     <add origin="*" />
     <add origin="*" />
   </cors>
   </cors>
</system.webServer></pre>
</system.webServer></pre>To do this on App level - change Web.config

Revision as of 14:22, 11 September 2020

To enable coors on IIS - all sites on the machine:

Open the Machineconfig

The Machine.config file is located in the %SystemRoot%\Microsoft.NET\Framework\%VersionNumber%\CONFIG\directory

Add this in configuration

<system.webServer>
  <cors enabled="true" failUnlistedOrigins="true">
    <add origin="*" />
  </cors>
</system.webServer>

To do this on App level - change Web.config

This page was edited 41 days ago on 03/26/2024. What links here