From 2e13005fac76d9c2465adffe58c902e369cb9719 Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Tue, 27 Feb 2018 08:43:40 -0600 Subject: [PATCH] Switch from azure to local api for update checks --- update_ombi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"