Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexmoreno/36e46585d1fe59b4f00f917472a3daf6 to your computer and use it in GitHub Desktop.
Save alexmoreno/36e46585d1fe59b4f00f917472a3daf6 to your computer and use it in GitHub Desktop.
serve.json - Allow CORS at zeit/serve
{
"headers": [
{
"source" : "*",
"headers" : [{
"key" : "Access-Control-Allow-Origin",
"value" : "*"
}]
}, {
"source" : "*",
"headers" : [{
"key" : "Access-Control-Allow-Headers",
"value" : "Origin, X-Requested-With, Content-Type, Accept"
}]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment