diff options
| author | Adam Soltys <[email protected]> | 2020-06-15 13:37:38 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-06-15 13:37:38 -0700 |
| commit | ed0da89c7d98195294ced6d71812183a04e24c76 (patch) | |
| tree | 411817cfbb8c7fa50b8c15ae546be038364b68ff /lib | |
| parent | 74b7d2a0d614f170ba5aea3a1a172a7a68356d80 (diff) | |
| download | coinos-server-ed0da89c7d98195294ced6d71812183a04e24c76.tar.gz coinos-server-ed0da89c7d98195294ced6d71812183a04e24c76.zip | |
move client version, update example config and schema
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sockets.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sockets.js b/lib/sockets.js index 07af88d8..4b733882 100644 --- a/lib/sockets.js +++ b/lib/sockets.js @@ -77,7 +77,7 @@ wss.on("connection", function(ws, req) { ws.user = user; ws.send(JSON.stringify({ type: "login", data: user })); - ws.send(JSON.stringify({ type: "version", data: clientVersion })); + ws.send(JSON.stringify({ type: "version", data: config.clientVersion })); l.info("socket open", username, id); } catch (e) { ws.close(); |
