pull/49/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 1c2bd147b0
commit 85fe1dc171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,8 +3,8 @@ scriptVersion="1.0.002"
if [ -z "$arrUrl" ] || [ -z "$arrApiKey" ]; then if [ -z "$arrUrl" ] || [ -z "$arrApiKey" ]; then
arrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" arrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$arrUrlBase" = "null" ]; then if [ "$arrUrlBase" == "null" ]; then
arrlBase="" arrUrlBase=""
else else
arrUrlBase="/$(echo "$arrUrlBase" | sed "s/\///g")" arrUrlBase="/$(echo "$arrUrlBase" | sed "s/\///g")"
fi fi

Loading…
Cancel
Save