We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
By default, ws will accept requests from any origin. To restrict access to a specific origin use --cors.origin.
ws
--cors.origin
This example will only accept XHR/fetch requests from http://127.0.0.1:8200.
http://127.0.0.1:8200
$ ws --cors.origin http://127.0.0.1:8200