File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
docs/developer-intermediate/inventory-ui Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments