diff --git a/internal/provider/ipvanish/updater/servers.go b/internal/provider/ipvanish/updater/servers.go index eb247a1d..3f5e8814 100644 --- a/internal/provider/ipvanish/updater/servers.go +++ b/internal/provider/ipvanish/updater/servers.go @@ -15,7 +15,7 @@ import ( func (u *Updater) FetchServers(ctx context.Context, minServers int) ( servers []models.Server, err error) { - const url = "https://www.ipvanish.com/software/configs/configs.zip" + const url = "https://configs.ipvanish.com/configs/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 e7db6889..7a64c4fb 100644 --- a/internal/provider/ipvanish/updater/servers_test.go +++ b/internal/provider/ipvanish/updater/servers_test.go @@ -195,7 +195,7 @@ func Test_Updater_GetServers(t *testing.T) { ctx := context.Background() unzipper := common.NewMockUnzipper(ctrl) - const zipURL = "https://www.ipvanish.com/software/configs/configs.zip" + const zipURL = "https://configs.ipvanish.com/configs/configs.zip" unzipper.EXPECT().FetchAndExtract(ctx, zipURL). Return(testCase.unzipContents, testCase.unzipErr)