chore(storage): tcp and udp fields for all servers

- Updater code sets UDP and TCP compatibility for all providers
- Increase servers.json model versions for affected providers (mullvad, windscribe, privado, protonvpn, privatevpn)
- Remove retro-compatibility server defaults
- Update all affected providers servers data (mullvad, windscribe, privado, protonvpn, privatevpn)
This commit is contained in:
Quentin McGaw
2022-04-22 21:25:00 +00:00
parent afa51b3ff6
commit e6c3cb078a
8 changed files with 6822 additions and 891 deletions

View File

@@ -17,6 +17,8 @@ func (hts hostToServer) add(host, country, city string) {
server.Hostname = host
server.Country = country
server.City = city
server.UDP = true
server.TCP = true
hts[host] = server
}

View File

@@ -73,6 +73,8 @@ func GetServers(ctx context.Context, unzipper unzip.Unzipper,
Country: country,
City: city,
IPs: ips,
UDP: true,
TCP: true,
}
noHostnameServers = append(noHostnameServers, server)
}