Skip to content

Commit

Permalink
Fix documentation of http-proxy-middleware (#5226)
Browse files Browse the repository at this point in the history
  • Loading branch information
banyan authored and iansu committed Oct 2, 2018
1 parent 2b2d866 commit ab272d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ You can now register proxies as you wish! Here's an example using the above `htt
const proxy = require('http-proxy-middleware');

module.exports = function(app) {
app.use(proxy('/api', { target: 'http://localhost:5000/' }));
app.use('/api', proxy({ target: 'http://localhost:5000/' }));
};
```

Expand Down

0 comments on commit ab272d2

Please sign in to comment.