summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-11-09 18:14:07 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-11-09 18:14:07 +0100
commitc26c8820f296de41ce7093416b584cfdb6b657fa (patch)
treee00798de3b1966840cc6d82736fe8d13abe2b0bb /lib/Travelynx.pm
parentfc05987b14924e51c37092876e7c156b748b457b (diff)
Switch to internal HAFAS client for connection details
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 7c8b48e..07b2a89 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -93,8 +93,6 @@ sub startup {
$self->secrets( $self->config->{secrets} );
}
- $self->config->{backend}{hafas_rest_api} //= 'https://v5.db.transport.rest';
-
chomp $self->config->{version};
$self->plugin(
@@ -300,7 +298,6 @@ sub startup {
my ($self) = @_;
state $hafas = Travelynx::Helper::HAFAS->new(
log => $self->app->log,
- hafas_rest_api => $self->app->config->{backend}{hafas_rest_api},
main_cache => $self->app->cache_iris_main,
realtime_cache => $self->app->cache_iris_rt,
root_url => $self->base_url_for('/')->to_abs,