Skip to content

Commit

Permalink
Update README.md (#970)
Browse files Browse the repository at this point in the history
There were errors in the examples highlighted, check issue #969
  • Loading branch information
subomi authored and indexzero committed Aug 22, 2019
1 parent 0d9ed36 commit c8fa599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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'
});
});

Expand Down

0 comments on commit c8fa599

Please sign in to comment.