From e18ae14f03b75f1f9299530320242e806cf7a8d7 Mon Sep 17 00:00:00 2001
From: Daniel Friesel
Date: Sat, 28 Jul 2012 11:13:17 +0200
Subject: fix intro title, better intro text, fix example link
---
cgi/index.pl | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/cgi/index.pl b/cgi/index.pl
index 92197b1..27aafd0 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -93,7 +93,9 @@ sub handle_request {
city => $city,
stop => $stop,
version => $VERSION,
- title => "departures for ${city} ${stop}",
+ title => $city
+ ? "departures for ${city} ${stop}"
+ : "vrr-fakedisplay ${VERSION}",
);
}
@@ -301,10 +303,10 @@ get '/:city/:stop' => \&handle_request;
app->config(
hypnotoad => {
- accepts => 10,
- listen => ['http://*:8091'],
+ accepts => 10,
+ listen => ['http://*:8091'],
pid_file => '/tmp/vrr-fake.pid',
- workers => 2,
+ workers => 2,
},
);
@@ -383,8 +385,8 @@ the Lumino LED displays used at some stops.
-It was written for the VRR (Verkehrsverbund Rhein-Ruhr), but supports most other
-local transit networks as well.
+It works best for the VRR (Verkehrsverbund Rhein-Ruhr), but also supports most
+other German transit networks.
% }
@@ -443,7 +445,7 @@ local transit networks as well.
For Düsseldorf, the DB backend usually gives better results
If you write the city correctly (like "Essen", not "essen"), vrr-fake can
shorten destination names
-Example
+Example
--
cgit v1.2.3