Update openvpn-install.sh

Updated openvpn-install.sh to use ip.me since ifconfig.co is not working
This commit is contained in:
Michael Roberts 2020-05-26 10:28:50 -04:00 committed by GitHub
parent b2888fa514
commit fd707bea39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -618,7 +618,7 @@ function installOpenVPN() {
if [[ $IPV6_SUPPORT == "y" ]]; then
PUBLIC_IP=$(curl https://ifconfig.co)
else
PUBLIC_IP=$(curl -4 https://ifconfig.co)
PUBLIC_IP=$(curl -4 https://ip.me)
fi
ENDPOINT=${ENDPOINT:-$PUBLIC_IP}
fi