From bca392d22d90b464c97eff981a5b8ad7fb79f192 Mon Sep 17 00:00:00 2001 From: Subomi Date: Sun, 28 Feb 2016 23:20:40 +0100 Subject: [PATCH] Update README.md There were errors in the examples highlighted, check issue #969 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0cafaaaea..250cc4c67 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ var proxy = httpProxy.createProxyServer({}); var server = http.createServer(function(req, res) { // You can define here your custom logic to handle the request // and then proxy the request. - proxy.web(req, res, { target: 'http://127.0.0.1:5060' }); + proxy.web(req, res, { target: 'http://127.0.0.1:5050' }); }); console.log("listening on port 5050") @@ -183,7 +183,7 @@ var server = http.createServer(function(req, res) { // You can define here your custom logic to handle the request // and then proxy the request. proxy.web(req, res, { - target: 'http://127.0.0.1:5060' + target: 'http://127.0.0.1:5050' }); });