Register io to all req with app.set('socketio').

This commit is contained in:
2020-08-28 18:46:35 +02:00
parent 51a7107802
commit fd17e11e87
2 changed files with 8 additions and 4 deletions

View File

@@ -71,6 +71,8 @@ app.use(
})
);
app.set('socketio', io);
const passport = require("passport");
const LocalStrategy = require("passport-local");