TLEM: Update API base to HTTPS.

This commit is contained in:
Andreas Schildbach 2017-02-06 12:10:42 +01:00
parent 80c4a7d2f0
commit ac1f200e80

View file

@ -35,7 +35,7 @@ import okhttp3.HttpUrl;
* @author Andreas Schildbach
*/
public class TlemProvider extends AbstractEfaProvider {
private static final HttpUrl API_BASE = HttpUrl.parse("http://www.travelineeastmidlands.co.uk/em/");
private static final HttpUrl API_BASE = HttpUrl.parse("https://www.travelinesw.com/em/");
// http://www.travelineeastmidlands.co.uk/em/
// http://www.travelinesw.com/swe/
// http://www.travelinesoutheast.org.uk/se/
@ -45,11 +45,11 @@ public class TlemProvider extends AbstractEfaProvider {
public TlemProvider() {
super(NetworkId.TLEM, API_BASE);
setLanguage("en");
setTimeZone("Europe/London");
setUseProxFootSearch(false);
setStyles(STYLES);
httpClient.setTrustAllCertificates(true);
}
@Override