mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 07:24:53 +09:00
Authenticate connections made to the socket.io server via a token query
parameter that's validated in a similar manner to the x-access-token for
HTTP requests.
This is a port of 0c45e57.
694 B
694 B
Changelog
Version 2.0.0
- Fixed sslCert and sslPrivKey entries being ignored in the config.
- Changed ssl key creation to be done at startup instead of on npm install.
- Added error handling during master startup.
Breaking Changes
- Node.js versions below 10 are no longer supported.
- lib/authenticate no longer requires config to be passed to it. Breaks playerManager.
- The masterIP and masterPort config entries has been merged into masterURL. Breaks discordChat, playerManager, serverSelect, trainTeleports and clusterioModel.
Version 1.2.1
Breaking Changes
- Added authentication to the socket.io server running on the master.