Skip to content

Commit

Permalink
Put the arguments the right way around in the README.
Browse files Browse the repository at this point in the history
  • Loading branch information
philjackson authored and indexzero committed Dec 27, 2013
1 parent 7c8ecc8 commit 1457980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
});

Expand Down

0 comments on commit 1457980

Please sign in to comment.