What
Currently in the cdk deployment and in all lambda handlers the Allow-Origins headers are set to *. It should be localhost:3000 for local mode and app.takeniftynotes.net for production.
How
Change the header in the cdk api construct in cdk/rocketnotes.go and in all lambda-handlers in lambda-handler/.
What
Currently in the cdk deployment and in all lambda handlers the
Allow-Originsheaders are set to*. It should belocalhost:3000for local mode andapp.takeniftynotes.netfor production.How
Change the header in the cdk api construct in cdk/rocketnotes.go and in all lambda-handlers in
lambda-handler/.