mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 16:59:51 +00:00
TFI: Update API base to HTTPS.
This commit is contained in:
parent
337d84efe5
commit
72c7289be4
1 changed files with 3 additions and 5 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue