fix(purevpn): fix update url and update servers (#1992)

See https://support.purevpn.com/purevpn/openvpn-files
This commit is contained in:
yifangd
2023-12-14 09:18:32 -06:00
committed by GitHub
parent 75fd869625
commit f71a1b083b
2 changed files with 571 additions and 690 deletions

View File

@@ -14,7 +14,7 @@ import (
func (u *Updater) FetchServers(ctx context.Context, minServers int) (
servers []models.Server, err error) {
const url = "https://d32d3g1fvkpl8y.cloudfront.net/heartbleed/windows/New+OVPN+Files.zip"
const url = "https://d11a57lttb2ffq.cloudfront.net/heartbleed/router/Recommended-CA2.zip"
contents, err := u.unzipper.FetchAndExtract(ctx, url)
if err != nil {
return nil, err