From bc14245217af66f21075d3b49690d82dab6fccac Mon Sep 17 00:00:00 2001 From: dkoukoul Date: Wed, 10 Jan 2024 10:17:49 +0200 Subject: [PATCH] rename admin, update curl --- doc/{Admin.md => ADMIN.md} | 0 scripts/install | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename doc/{Admin.md => ADMIN.md} (100%) diff --git a/doc/Admin.md b/doc/ADMIN.md similarity index 100% rename from doc/Admin.md rename to doc/ADMIN.md diff --git a/scripts/install b/scripts/install index f75ccee..3aecd93 100755 --- a/scripts/install +++ b/scripts/install @@ -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')