diff options
| author | Albin <albin@mullvad.net> | 2023-11-27 17:11:20 +0100 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2023-11-27 17:25:38 +0100 |
| commit | 2e94e66c35b02d377fd8ba6e340809d341b708b3 (patch) | |
| tree | 608b6592458e86145aafc39976266b6357910223 /android | |
| parent | 3b093e0ee4afd159412d9921d8707478874d2392 (diff) | |
| download | mullvadvpn-2e94e66c35b02d377fd8ba6e340809d341b708b3.tar.xz mullvadvpn-2e94e66c35b02d377fd8ba6e340809d341b708b3.zip | |
Enable forced direct connection for devmole and stagemole builds
This commit enables forced API direct connection as well as disables
API address caching to improve testing against the devmole and
stagemole environments.
Diffstat (limited to 'android')
| -rw-r--r-- | android/lib/endpoint/src/main/kotlin/net/mullvad/mullvadvpn/lib/endpoint/CustomApiEndpointConfiguration.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/lib/endpoint/src/main/kotlin/net/mullvad/mullvadvpn/lib/endpoint/CustomApiEndpointConfiguration.kt b/android/lib/endpoint/src/main/kotlin/net/mullvad/mullvadvpn/lib/endpoint/CustomApiEndpointConfiguration.kt index 9d2ba2420f..5790f8c73f 100644 --- a/android/lib/endpoint/src/main/kotlin/net/mullvad/mullvadvpn/lib/endpoint/CustomApiEndpointConfiguration.kt +++ b/android/lib/endpoint/src/main/kotlin/net/mullvad/mullvadvpn/lib/endpoint/CustomApiEndpointConfiguration.kt @@ -9,9 +9,9 @@ const val CUSTOM_ENDPOINT_HTTPS_PORT = 443 data class CustomApiEndpointConfiguration( val hostname: String, val port: Int, - val disableAddressCache: Boolean = false, + val disableAddressCache: Boolean = true, val disableTls: Boolean = false, - val forceDirectConnection: Boolean = false + val forceDirectConnection: Boolean = true ) : ApiEndpointConfiguration { override fun apiEndpoint() = ApiEndpoint( |
