Created
September 3, 2018 11:31
-
-
Save gahabeen/c4a5538700b80d34a490439b3244ab91 to your computer and use it in GitHub Desktop.
Where am I wrong? CORS with Serverless with Spotinst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[...] | |
functions: | |
aFunctionName: | |
runtime: nodejs8.3 | |
handler: handler.fn | |
memory: 128 | |
timeout: 30 | |
access: public | |
endpoint: | |
path: /path/fn | |
method: post | |
cors: | |
- enabled: true | |
origin: "*" | |
headers: "Content-Type,Authorization" | |
methods: "GET,POST" | |
[...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment