Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
There were errors in the examples highlighted, check issue http-party#969
  • Loading branch information
subomi committed Feb 28, 2016
1 parent c1440b5 commit bca392d
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 @@ -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")
Expand Down Expand Up @@ -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'
});
});

Expand Down

0 comments on commit bca392d

Please sign in to comment.