mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-10 21:28:52 +00:00
NriProvider: Update base url.
This is a temporary fix to allow using the old api until Entur makes the new API official.
This commit is contained in:
parent
f4ca95df34
commit
8fc218c8d9
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ import okhttp3.HttpUrl;
|
||||||
* @author Andreas Schildbach
|
* @author Andreas Schildbach
|
||||||
*/
|
*/
|
||||||
public class NriProvider extends AbstractHafasLegacyProvider {
|
public class NriProvider extends AbstractHafasLegacyProvider {
|
||||||
private static final HttpUrl API_BASE = HttpUrl.parse("http://hafas.websrv05.reiseinfo.no/bin/dev/nri/");
|
private static final HttpUrl API_BASE = HttpUrl.parse("http://apiprod.reiseinfo.no/bin/");
|
||||||
private static final Product[] PRODUCTS_MAP = { Product.HIGH_SPEED_TRAIN, Product.REGIONAL_TRAIN, Product.BUS,
|
private static final Product[] PRODUCTS_MAP = { Product.HIGH_SPEED_TRAIN, Product.REGIONAL_TRAIN, Product.BUS,
|
||||||
Product.TRAM, Product.SUBWAY, Product.FERRY, Product.FERRY, Product.FERRY };
|
Product.TRAM, Product.SUBWAY, Product.FERRY, Product.FERRY, Product.FERRY };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue