We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae8ad1e commit 62c717bCopy full SHA for 62c717b
spiffworkflow-frontend/bin/boot_server_in_docker
@@ -21,7 +21,9 @@ if [[ -n "$react_configs" ]]; then
21
exit 1
22
fi
23
24
- for react_config in $react_configs; do
+ while IFS= read -r react_config; do
25
+ [[ -z "$react_config" ]] && continue
26
+
27
env_var=$(awk -F '=' '{print $1}' <<<"$react_config" | sed -E 's/^SPIFFWORKFLOW_FRONTEND_RUNTIME_CONFIG_//')
28
env_value=$(awk -F '=' '{print $2}' <<<"$react_config" | sed -E "s/(^['\"]|['\"]$)//g")
29
@@ -40,7 +42,7 @@ if [[ -n "$react_configs" ]]; then
40
42
echo >&2 "index.html: $(cat $index_html_file)"
41
43
44
- done
45
+ done <<< "$react_configs"
46
47
48
port_to_use="${PORT0:-80}"
0 commit comments