add socket connect and reconnect to session code
This commit is contained in:
parent
e0da50eb27
commit
b05cb202b6
9 changed files with 140 additions and 166 deletions
|
|
@ -9,7 +9,7 @@ const testMessage = {
|
|||
time: 'test'
|
||||
}
|
||||
const wss = new WebSocket.Server({
|
||||
port: 8080
|
||||
port: 8081
|
||||
});
|
||||
|
||||
wss.on("connection", function connection(ws, req) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue