OEBB: Update API base to HTTPS.

This commit is contained in:
Andreas Schildbach 2019-10-28 09:11:20 +01:00
parent 11c17ac50e
commit fd2c21f662

View file

@ -30,7 +30,7 @@ import okhttp3.HttpUrl;
* @author Andreas Schildbach
*/
public class OebbProvider extends AbstractHafasClientInterfaceProvider {
private static final HttpUrl API_BASE = HttpUrl.parse("http://fahrplan.oebb.at/bin/");
private static final HttpUrl API_BASE = HttpUrl.parse("https://fahrplan.oebb.at/bin/");
private static final Product[] PRODUCTS_MAP = { Product.HIGH_SPEED_TRAIN, 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.HIGH_SPEED_TRAIN, Product.ON_DEMAND,