Skip to content

Commit bca392d

Browse files
committed
Update README.md
There were errors in the examples highlighted, check issue http-party#969
1 parent c1440b5 commit bca392d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ var proxy = httpProxy.createProxyServer({});
145145
var server = http.createServer(function(req, res) {
146146
// You can define here your custom logic to handle the request
147147
// and then proxy the request.
148-
proxy.web(req, res, { target: 'http://127.0.0.1:5060' });
148+
proxy.web(req, res, { target: 'http://127.0.0.1:5050' });
149149
});
150150

151151
console.log("listening on port 5050")
@@ -183,7 +183,7 @@ var server = http.createServer(function(req, res) {
183183
// You can define here your custom logic to handle the request
184184
// and then proxy the request.
185185
proxy.web(req, res, {
186-
target: 'http://127.0.0.1:5060'
186+
target: 'http://127.0.0.1:5050'
187187
});
188188
});
189189

0 commit comments

Comments
 (0)