mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
Navitia: Allow custom API base.
This is especially useful if you want to run a Navitia instance on your own server.
This commit is contained in:
parent
51d92a61e1
commit
5be14b0134
4 changed files with 32 additions and 3 deletions
|
@ -28,6 +28,13 @@ public class ParisProvider extends AbstractNavitiaProvider
|
|||
{
|
||||
private static String API_REGION = "fr-idf";
|
||||
|
||||
public ParisProvider(final String apiBase, final String authorization)
|
||||
{
|
||||
super(NetworkId.PARIS, apiBase, authorization);
|
||||
|
||||
setTimeZone("Europe/Paris");
|
||||
}
|
||||
|
||||
public ParisProvider(final String authorization)
|
||||
{
|
||||
super(NetworkId.PARIS, authorization);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue