Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Make CORS headers configurable #81

Open
jonathan-wiens opened this issue May 2, 2020 · 0 comments
Open

Make CORS headers configurable #81

jonathan-wiens opened this issue May 2, 2020 · 0 comments

Comments

@jonathan-wiens
Copy link
Contributor

jonathan-wiens commented May 2, 2020

As a software developer I want to deploy feature app branches. Currently, the CORS configuration is hard coded and requires a hard deploy for new frontend URLs to be added to the CORS list.

Please make the configuration of CORS URLs configurable, e.g. via an environment variable that can be set in Heroku like this:

ACCEPTED_ORIGINS=["url1","url2"]

Then the instance only needs to be restarted and we don't need to create commits / deploys

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant