We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Versions < 0.3.0 do not have support for setting the COORS parameters for Socket.IO.
By default, Socket.io 2.2.x allows all hosts/ports as origin *:*.
*:*
The text was updated successfully, but these errors were encountered:
New config.json parameter http.origins takes a JSON object of authorized origins.
http.origins
Defaults is localhost:2222
localhost:2222
See https://socket.io/docs/v2/handling-cors/ for more details on how to use this.
If having trouble, consider enabling debug from an interactive shell for this app (will require full npm install and not production)
production
DEBUG=socket.io:server npm run start
Any origin errors will show up in a log statement like below:
socket.io:server origin http://localhost:2222/ssh/host/192.168.0.1 is not valid +2s
Sorry, something went wrong.
b324f33
feat: CORS support
58f919e
Support setting origins for socket.io, fixes billchurch#240
1e0595e
No branches or pull requests
Versions < 0.3.0 do not have support for setting the COORS parameters for Socket.IO.
By default, Socket.io 2.2.x allows all hosts/ports as origin
*:*
.The text was updated successfully, but these errors were encountered: