UNPKG

generator-neonode

Version:

Yeoman generator to scaffold a Neonode Fullstack MVC Application

11 lines (9 loc) 238 B
if (CONFIG[CONFIG.environment].sessions === false) { return module.exports = function(req, res, next) { next(); } } module.exports = function (err, req, res, next) { logger.error('CSRF', err, res.locals._csrf); next(err); };