summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadVPN/AccessMethodRepository
diff options
context:
space:
mode:
authorMarkus Pettersson <markus.pettersson@mullvad.net>2024-01-16 10:17:35 +0100
committerMarkus Pettersson <markus.pettersson@mullvad.net>2024-01-16 12:51:15 +0100
commit2aac8e447b09916c214b2bfccfc192603d1e85a8 (patch)
tree5052952471cc4643da6624d59fb67bf648f3cb71 /ios/MullvadVPN/AccessMethodRepository
parentb700b79d16c4980ee2028b4b5fb67caa785fbcfd (diff)
downloadmullvadvpn-2aac8e447b09916c214b2bfccfc192603d1e85a8.tar.xz
mullvadvpn-2aac8e447b09916c214b2bfccfc192603d1e85a8.zip
Do not try to resolve API address if `MULLVAD_API_HOST` is not set
If the `api-override` feature is enabled, we allow overriding the ip address to the Mullvad API by settings the `MULLVAD_API_ADDRESS` env variable or have it be resolved automatically if `MULLVAD_API_HOST` is overriden. This commit fixes a bug where we would try to resolve the API address when `MULLVAD_API_ADDRESS` was not set even if `MULLVAD_API_ADDRESS` was not set either.
Diffstat (limited to 'ios/MullvadVPN/AccessMethodRepository')
0 files changed, 0 insertions, 0 deletions