Skip to content

Commit

Permalink
Fix typo in 'Configuring the Proxy Manually' (#5193)
Browse files Browse the repository at this point in the history
Replace `src/setupTests.js` with `src/setupProxy.js`.
  • Loading branch information
fabriziocucci authored and Timer committed Oct 1, 2018
1 parent 2afcd4f commit aa57262
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 @@ -1118,7 +1118,7 @@ We don’t recommend this approach.
If the `proxy` option is **not** flexible enough for you, you can get direct access to the Express app instance and hook up your own proxy middleware.

You can use this feature in conjunction with the `proxy` property in `package.json`, but it is recommended you consolidate all of your logic into `src/setupTests.js`.
You can use this feature in conjunction with the `proxy` property in `package.json`, but it is recommended you consolidate all of your logic into `src/setupProxy.js`.

First, install `http-proxy-middleware` using npm or Yarn:

Expand Down

0 comments on commit aa57262

Please sign in to comment.