Skip to content

Commit bbe2b27

Browse files
committed
attempting to fix link to valid options properties
Current link for 'valid properties are available here' goes to url: https://github.com/nodejitsu/node-http-proxy/blob/caronte/tree/master/lib/http-proxy.js#L26-L39 The url works fine if 'tree/master/' is removed, so this is trying to remove that part of the relative path. The same removal of 'tree/master/' is being made for the 'available here' link that is preceded by "When a request is proxied it follows two different pipelines" since it suffers the same issue.
1 parent 86750c7 commit bbe2b27

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
@@ -21,7 +21,7 @@ proxies and load balancers.
2121
### Core Concept
2222

2323
A new proxy is created by calling `createProxyServer` and passing
24-
an `options` object as argument ([valid properties are available here](tree/master/lib/http-proxy.js#L26-L39))
24+
an `options` object as argument ([valid properties are available here](lib/http-proxy.js#L26-L39))
2525

2626
```javascript
2727
var httpProxy = require('http-proxy');
@@ -44,7 +44,7 @@ require('http').createServer(function(req, res) {
4444
});
4545
```
4646

47-
When a request is proxied it follows two different pipelines ([available here](tree/master/lib/http-proxy/passes))
47+
When a request is proxied it follows two different pipelines ([available here](lib/http-proxy/passes))
4848
which apply transformations to both the `req` and `res` object.
4949
The first pipeline (ingoing) is responsible for the creation and manipulation of the stream that connects your client to the target.
5050
The second pipeline (outgoing) is responsible for the creation and manipulation of the stream that, from your target, returns data

0 commit comments

Comments
 (0)