diff options
| author | Albin <albin@mullvad.net> | 2023-10-16 09:17:32 +0200 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2023-10-16 11:19:41 +0200 |
| commit | 55099af85627d4898b54e2ec48da6bdffa68c302 (patch) | |
| tree | 66a8b40cbe80e16dadbce59e9440c08b51b4ee3e /android/lib/endpoint | |
| parent | 65c8c9544fe5ef26960be51643e8d48eff07692c (diff) | |
| download | mullvadvpn-55099af85627d4898b54e2ec48da6bdffa68c302.tar.xz mullvadvpn-55099af85627d4898b54e2ec48da6bdffa68c302.zip | |
Use flavor configuration to set api endpoint
Diffstat (limited to 'android/lib/endpoint')
| -rw-r--r-- | android/lib/endpoint/src/main/kotlin/net/mullvad/mullvadvpn/lib/endpoint/CustomApiEndpointConfiguration.kt | 2 |
1 files changed, 2 insertions, 0 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 ba79bdff62..9d2ba2420f 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 @@ -3,6 +3,8 @@ package net.mullvad.mullvadvpn.lib.endpoint import java.net.InetSocketAddress import kotlinx.parcelize.Parcelize +const val CUSTOM_ENDPOINT_HTTPS_PORT = 443 + @Parcelize data class CustomApiEndpointConfiguration( val hostname: String, |
