Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
router.use(event => {
return then(di('env'), env => {
return then(session(event.name, {env}), page => {
event.page = page;
});
});
});