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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user