mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-12 19:08:49 +00:00
NetworkProviderFactory: migrate custom API base for VVO to HTTPS
This commit is contained in:
parent
d926f8b722
commit
6696c8f293
2 changed files with 1 additions and 2 deletions
|
@ -16,7 +16,6 @@
|
|||
<domain includeSubdomains="false">appefa10.verbundlinie.at</domain><!-- STV -->
|
||||
<domain includeSubdomains="false">railteam.hafas.eu</domain><!-- Railteam -->
|
||||
<domain includeSubdomains="false">mobil.vbl.ch</domain><!-- VBL -->
|
||||
<domain includeSubdomains="false">efa.vvo-online.de</domain><!-- VVO -->
|
||||
</domain-config>
|
||||
|
||||
</network-security-config>
|
||||
|
|
|
@ -143,7 +143,7 @@ public final class NetworkProviderFactory {
|
|||
else if (networkId.equals(NetworkId.VMT))
|
||||
return new VmtProvider("{\"aid\":\"vj5d7i3g9m5d7e3\",\"type\":\"AID\"}");
|
||||
else if (networkId.equals(NetworkId.VVO))
|
||||
return new VvoProvider();
|
||||
return new VvoProvider(HttpUrl.parse("https://efa.vvo-online.de/Oeffi/"));
|
||||
else if (networkId.equals(NetworkId.VMS))
|
||||
return new VmsProvider(HttpUrl.parse("https://efa.vms.de/Oeffi/"));
|
||||
else if (networkId.equals(NetworkId.VRR))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue