fynnfluegge / fynnfluegge/rocketnotes

Use specific Allow-Origins header

Open
#147 0 comments 0 reactions 0 assignees View on GitHub
effort low good first issue
Dominant language
TypeScript
Stars
1.5k
Forks
79
PR merge metrics
No merged PRs in 30d

Description

## 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](https://github.com/fynnfluegge/rocketnotes/blob/main/cdk/rocketnotes.go) and in all lambda-handlers in `lambda-handler/`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.