mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 16:40:30 +00:00
TLEM: Update API base to HTTPS.
This commit is contained in:
parent
80c4a7d2f0
commit
ac1f200e80
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue