From c8fa599983976052343b0477da55d39c3a82a6b9 Mon Sep 17 00:00:00 2001 From: Subomi Oluwalana Date: Thu, 22 Aug 2019 08:31:44 +0100 Subject: [PATCH] Update README.md (#970) 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 1ab0f9e44..9f0e75476 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,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") @@ -175,7 +175,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' }); });