Fix: update mechanism for PIA and update servers

- Separate TCP and UDP servers as they have different CNs
- Update server hardcoded information constants
This commit is contained in:
Quentin McGaw
2021-01-30 18:22:15 +00:00
parent 5757f0e201
commit e254849009
6 changed files with 692 additions and 180 deletions

View File

@@ -22,8 +22,8 @@ func GetAllServers() (allServers models.AllServers) {
Servers: NordvpnServers(),
},
Pia: models.PiaServers{
Version: 2,
Timestamp: 1609343591,
Version: 3,
Timestamp: 1611877630,
Servers: PIAServers(),
},
Purevpn: models.PurevpnServers{