Skip to content

Commit 1457980

Browse files
philjacksonindexzero
authored andcommitted
Put the arguments the right way around in the README.
1 parent 7c8ecc8 commit 1457980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ If you would like to handle errors passed to `next()` then attach a listener to
448448
9000, 'localhost'
449449
).listen(8000);
450450

451-
server.proxy.on('middlewareError', function (err, res, req) {
451+
server.proxy.on('middlewareError', function (err, req, res) {
452452
// handle the error here and call res.end()
453453
});
454454

0 commit comments

Comments
 (0)