Skip to content

Commit 9ac7625

Browse files
denkristofferstefan--
authored andcommitted
Update link to create-react-app-lambda
To show how to proxy in CRA v2
1 parent dc516bf commit 9ac7625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ When your function is deployed on Netlify, it will be available at `/.netlify/fu
4343

4444
Say you are running `webpack-serve` on port 8080 and `netlify-lambda serve` on port 9000. Mounting `localhost:9000` to `/.netlify/functions/` on your `webpack-serve` server (`localhost:8080/.netlify/functions/`) will closely replicate what the final production environment will look like during development, and will allow you to assume the same function url path in development and in production.
4545

46-
See [netlify/create-react-app-lambda](https://github.com/netlify/create-react-app-lambda/blob/3b5fac5fcbcba0e775b755311d29242f0fc1d68e/package.json#L19) for an example of how to do this.
46+
See [netlify/create-react-app-lambda](https://github.com/netlify/create-react-app-lambda/blob/f0e94f1d5a42992a2b894bfeae5b8c039a177dd9/src/setupProxy.js) for an example of how to do this.
4747

4848
[Example webpack config](https://github.com/imorente/netlify-functions-example/blob/master/webpack.development.config):
4949

0 commit comments

Comments
 (0)