Skip to content

Commit f304861

Browse files
committed
[minor] grammar
1 parent ea0a4de commit f304861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ server.listen(5050);
117117
#### Modify a response from a proxied server
118118
Sometimes when you have received a HTML/XML document from the server of origin you would like to modify it before forwarding it on.
119119

120-
[Harmon](https://github.com./No9/harmon) allows you to do this in a streaming style so as to keep the pressure on the proxy to a minimum.
120+
[Harmon](https://github.com./No9/harmon) allows you to do this in a streaming style so as to keep the pressure on the proxy to a minimum.
121121

122122

123123
#### Setup a stand-alone proxy server with proxy request header re-writing
@@ -197,7 +197,7 @@ http.createServer(function (req, res) {
197197
* `proxyRes`: This event is emitted if the request to the target got a response.
198198
* `open`: This event is emitted once the proxy websocket was created and piped into the target websocket.
199199
* `close`: This event is emitted once the proxy websocket was closed.
200-
* (DEPRECATED) `proxySocket`: Deprecated in favor to `open`.
200+
* (DEPRECATED) `proxySocket`: Deprecated in favor of `open`.
201201

202202
```js
203203
var httpProxy = require('http-proxy');

0 commit comments

Comments
 (0)