Browse Source

NET-958: remove usage of netmaker ip service (#2853)

* remove netmaker ip service

* remove debug log
Abhishek K 1 year ago
parent
commit
203cbeef8b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      servercfg/serverconf.go

+ 1 - 1
servercfg/serverconf.go

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