mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-06 21:24:16 +08:00
NET-958: remove usage of netmaker ip service (#2853)
* remove netmaker ip service * remove debug log
This commit is contained in:
parent
3b533952df
commit
203cbeef8b
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ func GetPublicIP() (string, error) {
|
|||
endpoint := ""
|
||||
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")
|
||||
if publicIpService != "" {
|
||||
// prepend the user-specified service so it's checked first
|
||||
|
|
Loading…
Add table
Reference in a new issue