Skip to content

Instantly share code, notes, and snippets.

@shierro
Created August 11, 2018 11:47
Show Gist options
  • Save shierro/0e88f5b2ada79ebd53f370e2734c0c0e to your computer and use it in GitHub Desktop.
Save shierro/0e88f5b2ada79ebd53f370e2734c0c0e to your computer and use it in GitHub Desktop.
serverless CORS
functions:
my_func:
handler: handler.my_func
events:
- http:
path: my_func
method: get
cors: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment