Skip to content

Commit d849b62

Browse files
fabriziocucciTimer
authored andcommitted
Fix typo in 'Configuring the Proxy Manually' (facebook#5193)
Replace `src/setupTests.js` with `src/setupProxy.js`.
1 parent d3566e7 commit d849b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ We don’t recommend this approach.
11181118
11191119
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.
11201120

1121-
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`.
1121+
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`.
11221122

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

0 commit comments

Comments
 (0)