Skip to content

Commit 81afc35

Browse files
authored
Inv app (#271)
* Clearer BFF instructions Signed-off-by: Noé Samaille <[email protected]> * UI Signed-off-by: Noé Samaille <[email protected]> * Fixed inv UI lab typo Signed-off-by: Noé Samaille <[email protected]> Signed-off-by: Noé Samaille <[email protected]>
1 parent e5a9b2a commit 81afc35

File tree

1 file changed

+7
-7
lines changed
  • docs/developer-intermediate/inventory-ui

1 file changed

+7
-7
lines changed

docs/developer-intermediate/inventory-ui/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ Now that we have a mock service that injects data, we can build an implementatio
409409
app.use(
410410
'/api',
411411
createProxyMiddleware({
412-
target: process.env.API_HOST,
412+
target: process.env.API_HOST ?? 'http://example.com',
413413
changeOrigin: true,
414414
pathRewrite: {
415415
'^/api': '/'
@@ -439,7 +439,7 @@ Now that we have a mock service that injects data, we can build an implementatio
439439
app.use(
440440
'/api',
441441
createProxyMiddleware({
442-
target: process.env.API_HOST,
442+
target: process.env.API_HOST ?? 'http://example.com',
443443
changeOrigin: true,
444444
pathRewrite: {
445445
'^/api': '/'
@@ -521,14 +521,14 @@ Now that we have a mock service that injects data, we can build an implementatio
521521
```yaml title="chart/base/templates/deployment.yaml"
522522
...
523523
env:
524-
- name: INGRESS_HOST
524+
- name: INGRESS_HOST
525525
value: ""
526-
- name: PROTOCOLS
526+
- name: PROTOCOLS
527527
value: ""
528-
- name: LOG_LEVEL
528+
- name: LOG_LEVEL
529529
value: {{ .Values.logLevel | quote }}
530-
- name: API_HOST
531-
value: {{ printf "%s:80" .Values.connectsTo | quote }
530+
- name: API_HOST
531+
value: {{ printf "%s:80" .Values.connectsTo | quote }}
532532
...
533533
```
534534

0 commit comments

Comments
 (0)