diff --git a/internal/provider/ipvanish/updater/servers.go b/internal/provider/ipvanish/updater/servers.go index 096a12e4d..fa0d29c8d 100644 --- a/internal/provider/ipvanish/updater/servers.go +++ b/internal/provider/ipvanish/updater/servers.go @@ -16,7 +16,7 @@ import ( func (u *Updater) FetchServers(ctx context.Context, minServers int) ( servers []models.Server, err error, ) { - const url = "https://configs.ipvanish.com/configs/configs.zip" + const url = "https://configs.ipvanish.com/openvpn/v2.6.0-0/configs.zip" contents, err := u.unzipper.FetchAndExtract(ctx, url) if err != nil { return nil, err diff --git a/internal/provider/ipvanish/updater/servers_test.go b/internal/provider/ipvanish/updater/servers_test.go index 8a0cd6e72..d416a5fec 100644 --- a/internal/provider/ipvanish/updater/servers_test.go +++ b/internal/provider/ipvanish/updater/servers_test.go @@ -194,7 +194,7 @@ func Test_Updater_GetServers(t *testing.T) { ctx := context.Background() unzipper := common.NewMockUnzipper(ctrl) - const zipURL = "https://configs.ipvanish.com/configs/configs.zip" + const zipURL = "https://configs.ipvanish.com/openvpn/v2.6.0-0/configs.zip" unzipper.EXPECT().FetchAndExtract(ctx, zipURL). Return(testCase.unzipContents, testCase.unzipErr)