From 10c1c88379b5ad64e33dfad51120b7b8f3102955 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 12 Dec 2021 10:56:02 +0100 Subject: Allow IRIS base URL to be overridden via DBFAKEDISPLAY_IRIS_BASE variable --- lib/DBInfoscreen/Controller/Stationboard.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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}, -- cgit v1.2.3