From 93cd4ed0892416e6bd287e53d4cf1a7c6759575f Mon Sep 17 00:00:00 2001 From: Stanislas Date: Thu, 7 Nov 2024 20:42:29 +0100 Subject: [PATCH] ip.seeip.org -> api.seeip.org --- openvpn-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 7da2ddd..7a90a57 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -227,9 +227,9 @@ function resolvePublicIP() { DIG_IP_VERSION_FLAG="-6" fi - # If there is no public ip yet, we'll try to solve it using: https://ip.seeip.org + # If there is no public ip yet, we'll try to solve it using: https://api.seeip.org if [[ -z $PUBLIC_IP ]]; then - PUBLIC_IP=$(curl -f -m 5 -sS --retry 2 --retry-connrefused $CURL_IP_VERSION_FLAG https://ip.seeip.org 2>/dev/null) + PUBLIC_IP=$(curl -f -m 5 -sS --retry 2 --retry-connrefused $CURL_IP_VERSION_FLAG https://api.seeip.org 2>/dev/null) fi # If there is no public ip yet, we'll try to solve it using: https://ifconfig.me