Switch from azure to local api for update checks (#20)

* Switch from azure to local api for update checks

* DotNetCore branch renamed to develop
This commit is contained in:
Eric Nemchik 2018-03-14 08:50:48 -05:00 committed by Avi
parent 94a9001f7d
commit 8484bfaa65

View file

@ -196,7 +196,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/develop)
.log 8 "json: $json"
latestversion=$(grep -Po '(?<="updateVersionString":")([^"]+)' <<< "$json")
.log 7 "latestversion: $latestversion"