LINXD-2222: Update

This commit is contained in:
Sergiu Toma 2022-09-19 17:45:42 +03:00
parent 649c7a3767
commit 177d54ec67
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -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);