From ebcda3b78af11d7d61601a542999664d93fdee25 Mon Sep 17 00:00:00 2001 From: Anh Do Date: Mon, 18 Mar 2024 15:59:43 -0400 Subject: [PATCH] Remove hardcoded NetP endpoint --- .../Networking/NetworkProtectionClient.swift | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Sources/NetworkProtection/Networking/NetworkProtectionClient.swift b/Sources/NetworkProtection/Networking/NetworkProtectionClient.swift index 37ce3a174..268be4ae3 100644 --- a/Sources/NetworkProtection/Networking/NetworkProtectionClient.swift +++ b/Sources/NetworkProtection/Networking/NetworkProtectionClient.swift @@ -170,13 +170,7 @@ final class NetworkProtectionBackendClient: NetworkProtectionClient { init(environment: VPNSettings.SelectedEnvironment = .default, isSubscriptionEnabled: Bool) { self.isSubscriptionEnabled = isSubscriptionEnabled - - // todo - https://app.asana.com/0/0/1206470585910129/f - if isSubscriptionEnabled { - self.endpointURL = URL(string: "https://staging1.netp.duckduckgo.com")! - } else { - self.endpointURL = environment.endpointURL - } + self.endpointURL = environment.endpointURL } func getLocations(authToken: String) async -> Result<[NetworkProtectionLocation], NetworkProtectionClientError> {