Browse Source

change api url

fix display breaking for ipv6 network adapter prt
#146
-k 6 years ago
parent
commit
046227a006
No known key found for this signature in database GPG Key ID: 98C677C84A2340C1
  1. 2
      home.admin/00infoBlitz.sh

2
home.admin/00infoBlitz.sh

@ -107,7 +107,7 @@ fi
# get IP address & port
local_ip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/')
public_ip=$(curl -s http://v4v6.ipv6-test.com/api/myip.php)
public_ip=$(curl -s http://v4.ipv6-test.com/api/myip.php)
public_port=$(cat ${bitcoin_dir}/${network}.conf 2>/dev/null | grep port= | awk -F"=" '{print $2}')
if [ "${public_port}" = "" ]; then
if [ $chain = "test" ]; then

Loading…
Cancel
Save