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