add socket connect and reconnect to session code

This commit is contained in:
Enrique Hernandez 2021-02-10 09:00:42 -06:00 committed by riqo
commit b05cb202b6
9 changed files with 140 additions and 166 deletions

View file

@ -9,7 +9,7 @@ const testMessage = {
time: 'test'
}
const wss = new WebSocket.Server({
port: 8080
port: 8081
});
wss.on("connection", function connection(ws, req) {