From 145798062e332ac2aed7f8e8e3240e38464c870a Mon Sep 17 00:00:00 2001 From: Phil Jackson Date: Tue, 10 Sep 2013 23:42:41 +0100 Subject: [PATCH] Put the arguments the right way around in the README. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b4d442..594d02a 100644 --- a/README.md +++ b/README.md @@ -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() });