Small constants changes

- ifconfig.me/ip added, see #186
- Remove trailing space for a Surfshark region
This commit is contained in:
Quentin McGaw
2020-07-08 22:47:48 +00:00
parent ad73a027f3
commit 758f316816
2 changed files with 2 additions and 1 deletions

View File

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