awslabs / sbt-aws

SaaS Builder Toolkit for AWS is a developer toolkit to implement SaaS best practices and increase developer velocity.
Apache License 2.0
130 stars 26 forks source link

fix: add cors parameter and rename duplicate construct id names #65

Closed suhussai closed 2 months ago

suhussai commented 3 months ago

Issue # (if applicable)

Closes #.

Reason for this change

We should be able to set the CORS config for the control plane API. I am running into an issue when running the serverless ref arch and accessing the API (on a different domain) via the UI hosted on cloudfront.

Description of changes

Description of how you validated changes

Checklist


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.