Unverified Commit df98c0c5 authored by Joe Haddad's avatar Joe Haddad
Browse files

Update notes about advanced proxy

parent b5bae257
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 6 additions and 0 deletions
+6 -0
......@@ -1118,6 +1118,8 @@ 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`.
First, install `http-proxy-middleware` using npm or Yarn:
```bash
......@@ -1146,6 +1148,10 @@ module.exports = function(app) {
};
```
> **Note:** You do not need to import this file anywhere. It is automatically registered when you start the development server.
> **Note:** This file only supports Node's JavaScript syntax. Be sure to only use supported language features (i.e. no support for Flow, ES Modules, etc).
## Using HTTPS in Development
> Note: this feature is available with `react-scripts@0.4.0` and higher.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment