app.middleware("routes:after",[],function(req,res,next) {
console.log("here");
next();
})
"routes:after": {
"./middleware/test": {}
},
module.exports = function() {
return function tracker(req, res, next) {
console.log('Middleware triggered on %s.', req.url);
next();
};
};
--
You received this message because you are subscribed to the Google Groups "LoopbackJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to loopbackjs+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.