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:
Harald Eilertsen 2017-05-19 15:13:48 +02:00 committed by Andreas Schildbach
parent f4ca95df34
commit 8fc218c8d9

View file

@ -36,7 +36,7 @@ import okhttp3.HttpUrl;
* @author Andreas Schildbach
*/
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,
Product.TRAM, Product.SUBWAY, Product.FERRY, Product.FERRY, Product.FERRY };