Small constants changes
- ifconfig.me/ip added, see #186 - Remove trailing space for a Surfshark region
This commit is contained in:
@@ -28,6 +28,7 @@ func NewIPGetter(client network.Client) IPGetter {
|
|||||||
|
|
||||||
func (i *ipGetter) Get() (ip net.IP, err error) {
|
func (i *ipGetter) Get() (ip net.IP, err error) {
|
||||||
urls := []string{
|
urls := []string{
|
||||||
|
"https://ifconfig.me/ip",
|
||||||
"http://ip1.dynupdate.no-ip.com:8245",
|
"http://ip1.dynupdate.no-ip.com:8245",
|
||||||
"http://ip1.dynupdate.no-ip.com",
|
"http://ip1.dynupdate.no-ip.com",
|
||||||
"https://api.ipify.org",
|
"https://api.ipify.org",
|
||||||
|
|||||||
Reference in New Issue
Block a user