mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 06:09:57 +00:00
Update API base for Vienna, Lower Austria & Burgenland.
This commit is contained in:
parent
377f628183
commit
fd1be51c98
1 changed files with 3 additions and 5 deletions
|
@ -30,15 +30,13 @@ import de.schildbach.pte.dto.Style;
|
|||
public class VorProvider extends AbstractEfaProvider
|
||||
{
|
||||
public static final NetworkId NETWORK_ID = NetworkId.VOR;
|
||||
private final static String EFA_API_BASE = "http://efa.vor.at/vor/";
|
||||
private final static String RBL_API_BASE = "http://depmon.vor.at:8380/vorrbl/";
|
||||
private final static String API_BASE = "http://efa.vor.at/vor/";
|
||||
|
||||
public VorProvider()
|
||||
{
|
||||
super(RBL_API_BASE + DEFAULT_DEPARTURE_MONITOR_ENDPOINT, EFA_API_BASE + DEFAULT_TRIP_ENDPOINT, EFA_API_BASE + DEFAULT_STOPFINDER_ENDPOINT,
|
||||
RBL_API_BASE + DEFAULT_COORD_ENDPOINT);
|
||||
super(API_BASE);
|
||||
|
||||
setHttpReferer(EFA_API_BASE + DEFAULT_TRIP_ENDPOINT);
|
||||
setHttpReferer(API_BASE + DEFAULT_TRIP_ENDPOINT);
|
||||
setHttpPost(true);
|
||||
setIncludeRegionId(false);
|
||||
setStyles(STYLES);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue