LINXD-2222: Update
This commit is contained in:
parent
dc4ff89c42
commit
b7ef9bcdd4
8
app.js
8
app.js
@ -60,10 +60,10 @@ httpsServer.listen(process.env.PORT, () => {
|
||||
|
||||
const io = new Server(httpsServer, {
|
||||
allowEIO3: true,
|
||||
// allowRequest: (req) => {
|
||||
// console.log('req', req);
|
||||
// return true;
|
||||
// }
|
||||
allowRequest: (req) => {
|
||||
console.log('req', req);
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
// socket.io namespace (could represent a room?)
|
||||
|
Loading…
Reference in New Issue
Block a user