HSL: Update API base to HTTPS.

This commit is contained in:
Andreas Schildbach 2017-02-06 11:43:03 +01:00
parent 5a80a47580
commit 80c4a7d2f0

View file

@ -69,7 +69,7 @@ import okhttp3.ResponseBody;
* @author Mats Sjöberg <mats@sjoberg.fi>
*/
public class HslProvider extends AbstractNetworkProvider {
private static final HttpUrl API_BASE = HttpUrl.parse("http://api.reittiopas.fi/hsl/");
private static final HttpUrl API_BASE = HttpUrl.parse("https://api.reittiopas.fi/hsl/");
private static final String SERVER_PRODUCT = "hsl";
private static final String SERVER_VERSION = "1_2_0";
private static final int EARLIER_TRIPS_MINUTE_OFFSET = 5;