From d1c5aa040038174bb7bd58b11d1f3004866e9fd0 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 25 Oct 2020 17:02:34 +0100 Subject: return 404 for train not found, 300 for multiple station choice --- lib/DBInfoscreen.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/DBInfoscreen.pm') diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm index 3acb969..0834a97 100644 --- a/lib/DBInfoscreen.pm +++ b/lib/DBInfoscreen.pm @@ -144,7 +144,8 @@ sub startup { $self->render( 'landingpage', stationlist => \@candidates, - hide_opts => 0 + hide_opts => 0, + status => 300, ); return; } @@ -158,7 +159,8 @@ sub startup { $self->render( 'landingpage', stationlist => \@candidates, - hide_opts => 0 + hide_opts => 0, + status => 300, ); return; } -- cgit v1.2.3