LINXD-2222: Update
This commit is contained in:
parent
b7ef9bcdd4
commit
5d9a7da62d
4
app.js
4
app.js
@ -60,9 +60,9 @@ httpsServer.listen(process.env.PORT, () => {
|
|||||||
|
|
||||||
const io = new Server(httpsServer, {
|
const io = new Server(httpsServer, {
|
||||||
allowEIO3: true,
|
allowEIO3: true,
|
||||||
allowRequest: (req) => {
|
allowRequest: (req, next) => {
|
||||||
console.log('req', req);
|
console.log('req', req);
|
||||||
return true;
|
next()
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user