This project is inspired by the design and development of the AWS Serverless Application Repository - a production-grade AWS service. Learn how AWS built a production service using serverless technologies.
Description of changes:
Adding cors in code does not cover the scenarios where API GW returns 4xx or 5xx directly without talking to the API Lambda. Add gateway responses for 4xx and 5xx errors by default.
Description of changes: Adding cors in code does not cover the scenarios where API GW returns 4xx or 5xx directly without talking to the API Lambda. Add gateway responses for 4xx and 5xx errors by default.
Tests Deployed and working: http://serverlessrepo-aws-serverless-app-r-websitebucket-m2ggj252zy6m.s3-website-us-east-1.amazonaws.com
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.