We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a87a789 commit a9fa6a5Copy full SHA for a9fa6a5
ios/MullvadVPNUITests/MullvadApi.swift
@@ -30,11 +30,9 @@ class InitMutableBufferError: Error {
30
31
class MullvadApi {
32
private var clientContext: IosMullvadApiClient
33
- init() throws {
+ init(apiAddress: String, hostname: String) throws {
34
clientContext = IosMullvadApiClient(ptr: nil)
35
- // TODO: read the API address and hostname from a config file
36
- let apiAddress = "45.83.223.193:443"
37
- let hostname = "api.mullvad.net"
+
38
let result = mullvad_api_initialize_api_runtime(
39
&clientContext,
40
apiAddress,
0 commit comments