LINXD-2222: Update
This commit is contained in:
parent
649c7a3767
commit
177d54ec67
2
app.js
2
app.js
@ -69,7 +69,7 @@ const options = {
|
|||||||
// const httpsServer = https.createServer(options, app);
|
// const httpsServer = https.createServer(options, app);
|
||||||
// const io = new Server(httpsServer, { allowEIO3: true });
|
// const io = new Server(httpsServer, { allowEIO3: true });
|
||||||
const httpsServer = https.createServer(app);
|
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 });
|
// const io = new Server(server, { origins: '*:*', allowEIO3: true });
|
||||||
|
|
||||||
// io.use(middleware);
|
// io.use(middleware);
|
||||||
|
Loading…
Reference in New Issue
Block a user