diff --git a/app.js b/app.js index 1846b0f..7421cee 100644 --- a/app.js +++ b/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 });