summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-12-12 10:56:02 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-12-12 10:56:02 +0100
commit10c1c88379b5ad64e33dfad51120b7b8f3102955 (patch)
treec4250d08765666c5c0585ab2812385c330931631 /lib
parente9eec4c5a94376cf16497d5b5ee71c36166c0abf (diff)
Allow IRIS base URL to be overridden via DBFAKEDISPLAY_IRIS_BASE variable4.8.1
Diffstat (limited to 'lib')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 361413d..7f5b0d5 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -220,6 +220,7 @@ sub get_results_for {
if ( @station_matches == 1 ) {
$station = $station_matches[0][2];
my $status = Travel::Status::DE::IRIS->new(
+ iris_base => $ENV{DBFAKEDISPLAY_IRIS_BASE},
station => $station,
main_cache => $opt{cache_iris_main},
realtime_cache => $opt{cache_iris_rt},