summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-10-27 23:01:24 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-10-27 23:01:24 +0200
commit70bbd2bd1270ca10cb2f72aad333d265d0936a18 (patch)
treea0e81b8bdf98950a33c0f3e0908f7683fe04f4f6
parentd43e985785759b3eecfd0f6912e6e0266de24ba4 (diff)
transport.rest is no longer in use
-rw-r--r--lib/DBInfoscreen.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index 53944fd..23823f1 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -22,8 +22,6 @@ sub startup {
my ($self) = @_;
$self->config(
- hafas_rest_api => $ENV{DBFAKEDISPLAY_HAFAS_API}
- // 'https://v5.db.transport.rest',
hypnotoad => {
accepts => $ENV{DBFAKEDISPLAY_ACCEPTS} // 100,
clients => $ENV{DBFAKEDISPLAY_CLIENTS} // 10,
@@ -130,7 +128,6 @@ sub startup {
hafas => sub {
my ($self) = @_;
state $hafas = DBInfoscreen::Helper::HAFAS->new(
- api => $self->config->{hafas_rest_api},
log => $self->app->log,
main_cache => $self->app->cache_iris_main,
realtime_cache => $self->app->cache_iris_rt,