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 53a654c50f - Show all commits

5
app.js
View File

@ -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) => {