From 9dcf46759500da751d33208ca80d1e11b6825e27 Mon Sep 17 00:00:00 2001 From: Mystikfluu Date: Sun, 24 Apr 2022 16:08:45 +0200 Subject: [PATCH] commented out unused websocketserver functions --- server.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/server.js b/server.js index ee7707e..7e1ca9f 100644 --- a/server.js +++ b/server.js @@ -483,12 +483,12 @@ const wss = new WebSocket({ } }); -wss.on("connection", function connection(ws) { - // ws.isAlive = true; - ws.on("close", function close() { - - }) - ws.on("message", function incoming(message) { - //message = message.toString() - }) -}) +// wss.on("connection", function connection(ws) { +// // ws.isAlive = true; +// ws.on("close", function close() { +// +// }) +// ws.on("message", function incoming(message) { +// //message = message.toString() +// }) +// })