mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-10 19:38:47 +00:00
VMOBIL: Update API base to HTTPS.
This commit is contained in:
parent
140e645268
commit
67827d23ed
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,7 @@ import de.schildbach.pte.dto.SuggestLocationsResult;
|
|||
* @author Andreas Schildbach
|
||||
*/
|
||||
public class VmobilProvider extends AbstractHafasProvider {
|
||||
private static final String API_BASE = "http://fahrplan.vmobil.at/bin/";
|
||||
private static final String API_BASE = "https://fahrplan.vmobil.at/bin/";
|
||||
private static final Product[] PRODUCTS_MAP = { Product.HIGH_SPEED_TRAIN, Product.SUBURBAN_TRAIN, Product.SUBWAY,
|
||||
null, Product.TRAM, Product.REGIONAL_TRAIN, Product.BUS, Product.BUS, Product.TRAM, Product.FERRY,
|
||||
Product.ON_DEMAND, Product.BUS, Product.REGIONAL_TRAIN, null, null, null };
|
||||
|
@ -53,6 +53,7 @@ public class VmobilProvider extends AbstractHafasProvider {
|
|||
setJsonApiClient("{\"id\":\"VAO\",\"l\":\"vs_vvv\",\"type\":\"AND\"}");
|
||||
setJsonApiAuthorization(jsonApiAuthorization);
|
||||
setJsonNearbyLocationsEncoding(Charsets.UTF_8);
|
||||
httpClient.setSslAcceptAllHostnames(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue