Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use specific Allow-Origins header #147

Open
fynnfluegge opened this issue Oct 27, 2024 · 0 comments · May be fixed by #157
Open

Use specific Allow-Origins header #147

fynnfluegge opened this issue Oct 27, 2024 · 0 comments · May be fixed by #157
Labels

Comments

@fynnfluegge
Copy link
Owner

fynnfluegge commented Oct 27, 2024

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/.

@fynnfluegge fynnfluegge linked a pull request Nov 9, 2024 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant