We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b2d866 commit ab272d2Copy full SHA for ab272d2
packages/react-scripts/template/README.md
@@ -1211,7 +1211,7 @@ You can now register proxies as you wish! Here's an example using the above `htt
1211
const proxy = require('http-proxy-middleware');
1212
1213
module.exports = function(app) {
1214
- app.use(proxy('/api', { target: 'http://localhost:5000/' }));
+ app.use('/api', proxy({ target: 'http://localhost:5000/' }));
1215
};
1216
```
1217
0 commit comments