LINXD-2222-debugging-for-i-os #7

Merged
sergiu merged 36 commits from LINXD-2222-debugging-for-i-os into master 2022-09-20 23:16:17 +00:00
Showing only changes of commit f20c7fada8 - Show all commits

3
app.js
View File

@ -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;