LINXD-2222-debugging-for-i-os #7
2
app.js
2
app.js
@ -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 });
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user