Skip to content

Instantly share code, notes, and snippets.

@karlitros
Created February 20, 2015 17:12
Show Gist options
  • Save karlitros/2262cfafc97ecbb35251 to your computer and use it in GitHub Desktop.
Save karlitros/2262cfafc97ecbb35251 to your computer and use it in GitHub Desktop.
A snippet of the web.config that partly enables CORS
<httpProtocol>
<customHeaders>
<add name="X-UA-Compatible" value="IE=9" />
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Headers" value="Content-Type" />
</customHeaders>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment