Put the arguments the right way around in the README.

This commit is contained in:
Phil Jackson 2013-09-10 23:42:41 +01:00 committed by indexzero
parent 7c8ecc8ea8
commit 145798062e

View File

@ -448,7 +448,7 @@ If you would like to handle errors passed to `next()` then attach a listener to
9000, 'localhost'
).listen(8000);
server.proxy.on('middlewareError', function (err, res, req) {
server.proxy.on('middlewareError', function (err, req, res) {
// handle the error here and call res.end()
});