diff --git a/app.js b/app.js index aee3843..5b24db6 100644 --- a/app.js +++ b/app.js @@ -70,6 +70,11 @@ const options = { // const httpsServer = https.createServer(options, app); // const io = new Server(httpsServer, { allowEIO3: true }); const httpsServer = https.createServer(app, options); + +app.get('/', (req, res) => { + res.send('Now using https..'); +}); + const io = new Server(httpsServer, { origins: '*:*', allowRequest: (req) => {