mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 17:10:30 +00:00
RTA Chicago: Update API base to HTTPS.
This commit is contained in:
parent
a98bfe3617
commit
9c0b434dff
1 changed files with 2 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2016 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
|
||||||
|
@ -28,12 +28,10 @@ import okhttp3.HttpUrl;
|
||||||
* @author Andreas Schildbach
|
* @author Andreas Schildbach
|
||||||
*/
|
*/
|
||||||
public class RtaChicagoProvider extends AbstractEfaProvider {
|
public class RtaChicagoProvider extends AbstractEfaProvider {
|
||||||
private static final HttpUrl API_BASE = HttpUrl.parse("http://tripplanner.rtachicago.com/ccg3/");
|
private static final HttpUrl API_BASE = HttpUrl.parse("https://tripplanner.rtachicago.com/ccg3/");
|
||||||
// http://elb-jpinstances-1463028547.us-east-1.elb.amazonaws.com/ccg3/
|
|
||||||
|
|
||||||
public RtaChicagoProvider() {
|
public RtaChicagoProvider() {
|
||||||
super(NetworkId.RTACHICAGO, API_BASE);
|
super(NetworkId.RTACHICAGO, API_BASE);
|
||||||
|
|
||||||
setLanguage("en");
|
setLanguage("en");
|
||||||
setTimeZone("America/Chicago");
|
setTimeZone("America/Chicago");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue