diff options
| author | Markus Pettersson <markus.pettersson@mullvad.net> | 2024-01-16 10:17:35 +0100 |
|---|---|---|
| committer | Markus Pettersson <markus.pettersson@mullvad.net> | 2024-01-16 12:51:15 +0100 |
| commit | 2aac8e447b09916c214b2bfccfc192603d1e85a8 (patch) | |
| tree | 5052952471cc4643da6624d59fb67bf648f3cb71 /android/scripts | |
| parent | b700b79d16c4980ee2028b4b5fb67caa785fbcfd (diff) | |
| download | mullvadvpn-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 'android/scripts')
0 files changed, 0 insertions, 0 deletions
