mirror of
https://github.com/YunoHost-Apps/cjdns_ynh.git
synced 2024-09-03 18:16:29 +02:00
rename admin, update curl
This commit is contained in:
parent
79bb19427c
commit
bc14245217
2 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ jq '.noBackground = 1' $install_dir/cjdroute.conf > $install_dir/cjdroute.conf.t
|
|||
#=================================================
|
||||
ynh_script_progression --message="Getting cjdns peers..." --weight=1
|
||||
# Fetch the JSON data
|
||||
json=$(curl -s https://vpn.anode.co/api/0.3/vpn/cjdns/peeringlines/)
|
||||
json=$(curl -s -A "ynh" https://vpn.anode.co/api/0.4/vpn/cjdns/peeringlines/)
|
||||
echo "Got peering lines"
|
||||
|
||||
length=$(echo $json | jq '. | length')
|
||||
|
|
Loading…
Add table
Reference in a new issue