Merge branch 'develop' into NET-1911

This commit is contained in:
Abhishek K 2025-02-28 12:21:53 +04:00 committed by GitHub
commit 90b76b43e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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