Skip to content

Instantly share code, notes, and snippets.

@kelindar
Created December 19, 2014 14:01
Show Gist options
  • Save kelindar/41d404f4f2e44e5fed08 to your computer and use it in GitHub Desktop.
Save kelindar/41d404f4f2e44e5fed08 to your computer and use it in GitHub Desktop.
Spike Engine: CORS Configuration
Service.Cors.AllowMethods
= "POST,GET,PUT,DELETE,OPTIONS";
Service.Cors.AllowHeaders
= "X-Requested-With,Content-Type";
Service.Cors.AllowOrigin = "*";
Service.Cors.AllowCredentials = true;
Service.Cors.Enabled = true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment