TFI: Update API base to HTTPS.

This commit is contained in:
Andreas Schildbach 2018-10-11 10:21:51 +02:00
parent 337d84efe5
commit 72c7289be4

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2013-2015 the original author or authors. * Copyright the original author or authors.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -30,13 +30,11 @@ import okhttp3.HttpUrl;
* @author Andreas Schildbach * @author Andreas Schildbach
*/ */
public class TfiProvider extends AbstractEfaProvider { public class TfiProvider extends AbstractEfaProvider {
private static final HttpUrl API_BASE = HttpUrl.parse("http://www.journeyplanner.transportforireland.ie/nta/"); private static final HttpUrl API_BASE = HttpUrl.parse("https://www.journeyplanner.transportforireland.ie/nta/");
// https://www.journeyplanner.transportforireland.ie/ultraLite/
// http://www.journeyplanner.transportforireland.ie/ultraLite/
public TfiProvider() { public TfiProvider() {
super(NetworkId.TFI, API_BASE); super(NetworkId.TFI, API_BASE);
setLanguage("en"); setLanguage("en");
setTimeZone("Europe/London"); setTimeZone("Europe/London");
} }