Skip to content

Instantly share code, notes, and snippets.

@javierguerrero
Last active June 9, 2016 20:05
Show Gist options
  • Save javierguerrero/955c72da307276e042c6b50d93081925 to your computer and use it in GitHub Desktop.
Save javierguerrero/955c72da307276e042c6b50d93081925 to your computer and use it in GitHub Desktop.
Enable CORS IIS7
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Headers" value="Accept,Content-Type,X-Requested-With" />
</customHeaders>
</httpProtocol>
</system.webServer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment