|
@@ -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
|