This commit is contained in:
Sean Macfarlane
2020-08-03 14:32:56 -04:00
parent dc8374300e
commit 06cb3feac3

View File

@@ -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