LINXD-2222: Update

This commit is contained in:
Sergiu Toma 2022-09-19 23:40:03 +03:00
parent dc4ff89c42
commit b7ef9bcdd4

8
app.js
View File

@ -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?)