Skip to content

Commit

Permalink
update README.md for release
Browse files Browse the repository at this point in the history
  • Loading branch information
monkpow committed Sep 18, 2017
1 parent 03c5628 commit ae3654d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ $ npm install express-http-proxy --save
proxy(host, options);
```

### Example:
To proxy URLS starting with '/proxy' to the host 'www.google.com':

```js
var proxy = require('express-http-proxy');

var app = require('express')();

app.use('/proxy', proxy('www.google.com'));
Expand Down Expand Up @@ -448,6 +448,7 @@ app.use('/', proxy('internalhost.example.com', {
| Release | Notes |
| --- | --- |
| 1.0.7 | Update dependencies. Improve docs on promise rejection. Fix promise rejection on body limit. Improve debug output. |
| 1.0.6 | Fixes preserveHostHdr not working, skip userResDecorator on 304, add maybeSkipToNext, test improvements and cleanup. |
| 1.0.5 | Minor documentation and test patches |
| 1.0.4 | Minor documentation, test, and package fixes |
Expand Down

0 comments on commit ae3654d

Please sign in to comment.