From 177d54ec67778f5b22afaa3a046f70969a9952a3 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Mon, 19 Sep 2022 17:45:42 +0300 Subject: [PATCH] LINXD-2222: Update --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 7421cee..9ed6227 100644 --- a/app.js +++ b/app.js @@ -69,7 +69,7 @@ const options = { // const httpsServer = https.createServer(options, app); // const io = new Server(httpsServer, { allowEIO3: true }); const httpsServer = https.createServer(app); -const io = require('socket.io')(server, options); +const io = require('socket.io')(httpsServer, options); // const io = new Server(server, { origins: '*:*', allowEIO3: true }); // io.use(middleware);