Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1911

This commit is contained in:
abhishek9686 2025-02-24 20:27:00 +04:00
commit 5963c587e3

View file

@ -513,7 +513,7 @@ func GetPublicIP() (string, error) {
endpoint := ""
var err error
iplist := []string{"https://ifconfig.me", "https://api.ipify.org", "https://ipinfo.io/ip"}
iplist := []string{"https://ifconfig.me/ip", "https://api.ipify.org", "https://ipinfo.io/ip"}
publicIpService := os.Getenv("PUBLIC_IP_SERVICE")
if publicIpService != "" {
// prepend the user-specified service so it's checked first