LINXD-2222: Update

This commit is contained in:
Sergiu Toma 2022-09-19 17:45:18 +03:00
parent 08d6ccbb21
commit 649c7a3767

2
app.js
View File

@ -68,7 +68,7 @@ const options = {
// const httpsServer = https.createServer(options, app);
// const io = new Server(httpsServer, { allowEIO3: true });
const server = https.createServer(app);
const httpsServer = https.createServer(app);
const io = require('socket.io')(server, options);
// const io = new Server(server, { origins: '*:*', allowEIO3: true });