Commit a34701b7 authored by Robert Panzer's avatar Robert Panzer Committed by Joe Haddad
Browse files

Correct manual proxy documentation (#3185)

Correct manual proxy documentation
parent 6e5e2279
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 3 additions and 3 deletions
+3 -3
......@@ -1049,7 +1049,7 @@ You may also specify any configuration value [`http-proxy-middleware`](https://g
All requests matching this path will be proxies, no exceptions. This includes requests for `text/html`, which the standard `proxy` option does not proxy.
If you need to specify multiple proxies, you may do so by specifying additional entries.
You may also narrow down matches using `*` and/or `**`, to match the path exactly or any subpath.
Matches are regular expressions, so that you can use a regexp to match multiple paths.
```js
{
// ...
......@@ -1070,12 +1070,12 @@ You may also narrow down matches using `*` and/or `**`, to match the path exactl
// ...
},
// Matches /bar/abc.html but not /bar/sub/def.html
"/bar/*.html": {
"/bar/[^/]*[.]html": {
"target": "<url_3>",
// ...
},
// Matches /baz/abc.html and /baz/sub/def.html
"/baz/**/*.html": {
"/baz/.*/.*[.]html": {
"target": "<url_4>"
// ...
}
......
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