New PIA servers support (#227)
* Adapt storage: SyncServers write to file option, export FlushToFile * CLI built-in updater for old and new PIA servers * Update hardcoded IP addresses for PIA old and new servers * Add PIA old to allServers struct and update timestamps * Adapt code to work with new and old PIA servers * Remove PIA subdomains (unneeded) from resolver tool
This commit is contained in:
@@ -22,9 +22,14 @@ func GetAllServers() (allServers models.AllServers) {
|
||||
},
|
||||
Pia: models.PiaServers{
|
||||
Version: 1,
|
||||
Timestamp: 1598236838,
|
||||
Timestamp: 1598485988,
|
||||
Servers: PIAServers(),
|
||||
},
|
||||
PiaOld: models.PiaServers{
|
||||
Version: 1,
|
||||
Timestamp: 1598485988,
|
||||
Servers: PIAOldServers(),
|
||||
},
|
||||
Purevpn: models.PurevpnServers{
|
||||
Version: 1,
|
||||
Timestamp: 1598236838,
|
||||
|
||||
Reference in New Issue
Block a user