Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Make CORS origins configurable #118

Open
matthewejones opened this issue Aug 2, 2021 · 1 comment
Open

Make CORS origins configurable #118

matthewejones opened this issue Aug 2, 2021 · 1 comment

Comments

@matthewejones
Copy link
Contributor

In the latest version of boardgame.io, the permitted origins must be provided.
At the moment this is set to the following in gameServer.js.

origins: [
    '*'
]

This would probably be better set up from a config file
This will also affect the deployment process

@ChristophNiehoff
Copy link
Collaborator

When setting up such a config file, one must not forget to also adapt the docker and heroku deployments.

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

No branches or pull requests

2 participants