mirror of
https://github.com/Unimatrix0/update_ombi.git
synced 2025-07-05 20:41:52 -07:00
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:
parent
94a9001f7d
commit
8484bfaa65
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue