Add missing comma to Ushahidi config.json, fixes #133
This commit is contained in:
parent
64dda6172e
commit
1ce6abc6e4
@ -2,7 +2,7 @@
|
||||
|
||||
HOST="${DOMAIN}"
|
||||
[ "${PORT}" != "443" ] && HOST="${DOMAIN}:${PORT}"
|
||||
sed -i "s|\(^\s\+\"backend_url\": \).*|\1\"https://ush.${HOST}/platform\"|" /srv/ushahidi/conf/config.json
|
||||
sed -i "s|\(^\s\+\"backend_url\": \).*|\1\"https://ush.${HOST}/platform\",|" /srv/ushahidi/conf/config.json
|
||||
API_URL="\"https:\\\/\\\/ush.${HOST}\\\/platform\\\/api\\\/v3\\\/config\\\/data-provider\""
|
||||
QUERY="UPDATE \`config\` SET \`config_value\` = '${API_URL}' WHERE \`group_name\` LIKE 'data-provider' AND \`config_key\` LIKE 'url'"
|
||||
lxc-attach mariadb -- mysql -e "${QUERY}" ushahidi
|
||||
|
Loading…
Reference in New Issue
Block a user