mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 06:08:52 +00:00
Bahn: Migrate station board to separate base URL.
This commit is contained in:
parent
9bef580434
commit
cf09c0043b
1 changed files with 2 additions and 1 deletions
|
@ -29,10 +29,11 @@ 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_STATION_BOARD = "http://mobile.bahn.de/bin/mobil/";
|
||||
|
||||
public BahnProvider()
|
||||
{
|
||||
super(NetworkId.DB, API_BASE + "bhftafel.exe/dn", API_BASE + "ajax-getstop.exe/dn", API_BASE + "query.exe/dn", 14);
|
||||
super(NetworkId.DB, API_BASE_STATION_BOARD + "bhftafel.exe/dn", API_BASE + "ajax-getstop.exe/dn", API_BASE + "query.exe/dn", 14);
|
||||
|
||||
setClientType("ANDROID");
|
||||
setStationBoardHasStationTable(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue