SH: Update API base to HTTPS.

This commit is contained in:
Andreas Schildbach 2017-08-31 10:44:22 +02:00
parent 7823a8d17b
commit 3c961d86f6

View file

@ -35,7 +35,7 @@ import okhttp3.HttpUrl;
* @author Andreas Schildbach
*/
public class ShProvider extends AbstractHafasMobileProvider {
private static final HttpUrl API_BASE = HttpUrl.parse("http://nah.sh.hafas.de/bin/");
private static final HttpUrl API_BASE = HttpUrl.parse("https://nah.sh.hafas.de/bin/");
private static final Product[] PRODUCTS_MAP = { Product.HIGH_SPEED_TRAIN, Product.HIGH_SPEED_TRAIN,
Product.HIGH_SPEED_TRAIN, Product.REGIONAL_TRAIN, Product.SUBURBAN_TRAIN, Product.BUS, Product.FERRY,
Product.SUBWAY, Product.TRAM, Product.ON_DEMAND };