diff --git a/update_ombi.sh b/update_ombi.sh index d73f4df..ec6e05b 100644 --- a/update_ombi.sh +++ b/update_ombi.sh @@ -177,7 +177,7 @@ declare -i j=5 while [ $i -le $j ] do .log 6 "Checking for latest version" - json=$(curl -sL https://ombiservice.azurewebsites.net/api/update/DotNetCore) + json=$(curl -sL http://$ip:$port/api/v1/Update/DotNetCore) .log 8 "json: $json" latestversion=$(grep -Po '(?<="updateVersionString":")([^"]+)' <<< "$json") .log 7 "latestversion: $latestversion" @@ -334,4 +334,4 @@ elif [ $seconds -eq 1 ]; then fi durationmsg="Update complete...elapsed time $duration..." durationmsg="${durationmsg// / }" -.log 6 "$durationmsg" \ No newline at end of file +.log 6 "$durationmsg"