-
-
Save richardgrantserverless/bae60e29f61cd5e8d464404b5cd571a3 to your computer and use it in GitHub Desktop.
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: | |
hello: | |
handler: handler.hello | |
url: | |
# Allow CORS for all requests from any origin | |
cors: true | |
world: | |
handler: handler.hello | |
url: | |
# Configure CORS in details: | |
cors: | |
allowCredentials: … | |
allowedHeaders: … | |
allowedMethods: … | |
allowedOrigins: … | |
exposedResponseHeaders: … | |
maxAge: …. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment