mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 00:30:31 +00:00
DB: Update API base to HTTPS.
This commit is contained in:
parent
26621e5874
commit
9c133d2255
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ import de.schildbach.pte.dto.Product;
|
|||
*/
|
||||
public final class BahnProvider extends AbstractHafasProvider
|
||||
{
|
||||
private static final String API_BASE = "http://reiseauskunft.bahn.de/bin/";
|
||||
private static final String API_BASE = "https://reiseauskunft.bahn.de/bin/";
|
||||
private static final Product[] PRODUCTS_MAP = { Product.HIGH_SPEED_TRAIN, Product.HIGH_SPEED_TRAIN, Product.REGIONAL_TRAIN,
|
||||
Product.REGIONAL_TRAIN, Product.SUBURBAN_TRAIN, Product.BUS, Product.FERRY, Product.SUBWAY, Product.TRAM, Product.ON_DEMAND, null, null,
|
||||
null, null };
|
||||
|
@ -37,7 +37,7 @@ public final class BahnProvider extends AbstractHafasProvider
|
|||
{
|
||||
super(NetworkId.DB, API_BASE, "dn", PRODUCTS_MAP);
|
||||
|
||||
setStationBoardEndpoint("http://mobile.bahn.de/bin/mobil/bhftafel.exe/dn");
|
||||
setStationBoardEndpoint("https://mobile.bahn.de/bin/mobil/bhftafel.exe/dn");
|
||||
setStationBoardHasStationTable(false);
|
||||
setJsonGetStopsUseWeight(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue