Skip to content

Use specific Allow-Origins header #147

@fynnfluegge

Description

@fynnfluegge

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions