Browse Source

Fix: Update ip detect url

Robert Zollner 6 years ago
parent
commit
20df2741e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v-update-sys-ip

+ 1 - 1
bin/v-update-sys-ip

@@ -110,7 +110,7 @@ for ip in $ips; do
 done
 done
 
 
 # Updating NAT
 # Updating NAT
-pub_ip=$(curl --ipv4 -s https://www.hestiacp.com/what-is-my-ip/)
+pub_ip=$(curl --ipv4 -s https://ip.hestiacp.com/)
 if [ ! -e "$HESTIA/data/ips/$pub_ip" ]; then
 if [ ! -e "$HESTIA/data/ips/$pub_ip" ]; then
     if [ -z "$(grep -R "$pub_ip" $HESTIA/data/ips/)" ]; then
     if [ -z "$(grep -R "$pub_ip" $HESTIA/data/ips/)" ]; then
         ip=$(ls -t $HESTIA/data/ips/ |head -n1)
         ip=$(ls -t $HESTIA/data/ips/ |head -n1)