LINXD-2222: Update
This commit is contained in:
parent
43eee11c7e
commit
05ccd5cfd4
4
app.js
4
app.js
@ -54,8 +54,8 @@ const options = {
|
|||||||
cert: fs.readFileSync('./server/ssl/cert.pem', 'utf-8')
|
cert: fs.readFileSync('./server/ssl/cert.pem', 'utf-8')
|
||||||
}
|
}
|
||||||
|
|
||||||
const server = https.createServer(options, app);
|
const httpsServer = https.createServer(options, app);
|
||||||
const io = new Server(server, { allowEIO3: true });
|
const io = new Server(httpsServer, { allowEIO3: true });
|
||||||
// const io = new Server(server, { origins: '*:*', allowEIO3: true });
|
// const io = new Server(server, { origins: '*:*', allowEIO3: true });
|
||||||
|
|
||||||
// io.use(middleware);
|
// io.use(middleware);
|
||||||
|
Loading…
Reference in New Issue
Block a user