diff --git a/app.js b/app.js index bcea843..9451d10 100644 --- a/app.js +++ b/app.js @@ -60,9 +60,9 @@ httpsServer.listen(process.env.PORT, () => { const io = new Server(httpsServer, { allowEIO3: true, - allowRequest: (req) => { + allowRequest: (req, next) => { console.log('req', req); - return true; + next() } });