1
0
Fork 0
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:
dkoukoul 2024-01-10 10:17:49 +02:00
parent 79bb19427c
commit bc14245217
2 changed files with 1 additions and 1 deletions

View file

@ -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 ynh_script_progression --message="Getting cjdns peers..." --weight=1
# Fetch the JSON data # 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" echo "Got peering lines"
length=$(echo $json | jq '. | length') length=$(echo $json | jq '. | length')