2
0
Эх сурвалжийг харах

Merge branch 'release-v0.30.0' of https://github.com/gravitl/netmaker into NET-1964

abhishek9686 6 сар өмнө
parent
commit
e4b1a84ef2

+ 1 - 1
servercfg/serverconf.go

@@ -509,7 +509,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