Skip to content

How to enable CORS #1627

Discussion options

You must be logged in to vote

CORS can be enabled by declaring a cors field within the host element in the config file.

The --cors-origin option of the init command can be used to setup the allowed origins. Init command options

Here's the link to the docs that describes the host section of the config file: Host element docs

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by severussundar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants