mirror of
https://github.com/Telecominfraproject/wlan-cloud-ui.git
synced 2025-11-01 11:17:59 +00:00
fixed jq
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
if [ -z "${API:-}" ]; then
|
if [ -z "${API:-}" ]; then
|
||||||
API_URL_JSON=undefined
|
API_URL_JSON=undefined
|
||||||
else
|
else
|
||||||
API_URL_JSON=$(jq -n --arg api '$API' '$api')
|
API_URL_JSON=$(jq -n --arg api "$API" '$api')
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
window.REACT_APP_API=$API_URL_JSON;
|
window.REACT_APP_API = $API_URL_JSON;
|
||||||
EOF
|
EOF
|
||||||
Reference in New Issue
Block a user