Closed indigofeather closed 9 years ago
It's a bug - before I get chance to fix it though, you can get it working by providing your middleware in an array.
middleware: [function(req, res, next) {
// do something...
next();
}]
Hope that helps :)
It works! Thanks a lot :)
The following is the code:
with
middleware
:without
middleware
:If I did something wrong, please tell me.