Skip to content

Commit 643452f

Browse files
jkurialexeagle
authored andcommitted
docs: update proxy.md with correct path
1 parent 8ebfaa2 commit 643452f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/documentation/stories/proxy.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ We can then add the `proxyConfig` option to the serve target:
2626
"builder": "@angular-devkit/build-angular:dev-server",
2727
"options": {
2828
"browserTarget": "your-application-name:build",
29-
"proxyConfig": "src/proxy.conf.json"
29+
"proxyConfig": "proxy.conf.json"
3030
},
3131
```
3232

@@ -119,7 +119,7 @@ Make sure to point to the right file (`.js` instead of `.json`):
119119
"builder": "@angular-devkit/build-angular:dev-server",
120120
"options": {
121121
"browserTarget": "your-application-name:build",
122-
"proxyConfig": "src/proxy.conf.js"
122+
"proxyConfig": "proxy.conf.js"
123123
},
124124
```
125125

@@ -183,4 +183,4 @@ function setupForCorporateProxy(proxyConfig) {
183183
module.exports = setupForCorporateProxy(proxyConfig);
184184
```
185185

186-
This way if you have a `http_proxy` or `HTTP_PROXY` environment variable defined, an agent will automatically be added to pass calls through your corporate proxy when running `npm start`.
186+
This way if you have a `http_proxy` or `HTTP_PROXY` environment variable defined, an agent will automatically be added to pass calls through your corporate proxy when running `npm start`.

0 commit comments

Comments
 (0)