summaryrefslogtreecommitdiff
path: root/cgi/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-04-01 14:36:32 +0200
committerDaniel Friesel <derf@finalrewind.org>2012-04-01 14:36:32 +0200
commitf1f3902e862ec07642556a2ee10aea30e78888ca (patch)
treef497cfcf101ec3348e1f5ff37d838e77f521a9c3 /cgi/index.pl
parentffcff9897394fde2c5bac627bbd660be97ac9b93 (diff)
add hypnotoad configuration
Diffstat (limited to 'cgi/index.pl')
-rw-r--r--cgi/index.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index 6bf4586..9e131fb 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -299,6 +299,14 @@ get '/' => \&handle_request;
get '/:city/:stop.png' => \&render_image;
get '/:city/:stop' => \&handle_request;
+app->config(
+ hypnotoad => {
+ accepts => 10,
+ listen => ['http://*:8091'],
+ pid_file => '/tmp/vrr-fake.pid',
+ },
+);
+
app->start();
__DATA__