Cors

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

<?xml version="1.0" encoding="UTF-8"?><configuration><system.webServer><cors enabled="true" failUnlistedOrigins="true"><add origin="*" /></cors></system.webServer></configuration>
This page was edited 41 days ago on 03/26/2024. What links here