From f20c7fada88f62efec6a82af4f28c423f9617007 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Mon, 19 Sep 2022 18:06:39 +0300 Subject: [PATCH] LINXD-2222: Update --- app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.js b/app.js index 5b24db6..9f015c9 100644 --- a/app.js +++ b/app.js @@ -69,14 +69,13 @@ const options = { // const httpsServer = https.createServer(options, app); // const io = new Server(httpsServer, { allowEIO3: true }); -const httpsServer = https.createServer(app, options); +const httpsServer = https.createServer(options, app); app.get('/', (req, res) => { res.send('Now using https..'); }); const io = new Server(httpsServer, { - origins: '*:*', allowRequest: (req) => { console.log('req', req); return true;