Skip to content

Commit c8fa599

Browse files
subomiindexzero
authored andcommitted
Update README.md (#970)
There were errors in the examples highlighted, check issue #969
1 parent 0d9ed36 commit c8fa599

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
@@ -137,7 +137,7 @@ var proxy = httpProxy.createProxyServer({});
137137
var server = http.createServer(function(req, res) {
138138
// You can define here your custom logic to handle the request
139139
// and then proxy the request.
140-
proxy.web(req, res, { target: 'http://127.0.0.1:5060' });
140+
proxy.web(req, res, { target: 'http://127.0.0.1:5050' });
141141
});
142142

143143
console.log("listening on port 5050")
@@ -175,7 +175,7 @@ var server = http.createServer(function(req, res) {
175175
// You can define here your custom logic to handle the request
176176
// and then proxy the request.
177177
proxy.web(req, res, {
178-
target: 'http://127.0.0.1:5060'
178+
target: 'http://127.0.0.1:5050'
179179
});
180180
});
181181

0 commit comments

Comments
 (0)