Skip to content

Commit

Permalink
remove hardcoding
Browse files Browse the repository at this point in the history
Signed-off-by: André Bauer <andre.bauer@staffbase.com>
  • Loading branch information
monotek committed Dec 4, 2023
1 parent 1dc5dff commit 033aec2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/visual-regression-tracker/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data:
cat env-config.js
env-config.js: |
window._env_ = {
REACT_APP_API_URL: "http://localhost:4200",
PORT: "8080",
VRT_VERSION: "5.0.0",
REACT_APP_API_URL: "{{ .Values.vrtConfig.reactAppApiUrl }}",
PORT: "{{ .Values.ui.service.port }}",
VRT_VERSION: "{{ .Chart.AppVersion }}",
}

0 comments on commit 033aec2

Please sign in to comment.