diff options
author | Daniel Friesel <derf@finalrewind.org> | 2012-04-01 14:36:32 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2012-04-01 14:36:32 +0200 |
commit | f1f3902e862ec07642556a2ee10aea30e78888ca (patch) | |
tree | f497cfcf101ec3348e1f5ff37d838e77f521a9c3 | |
parent | ffcff9897394fde2c5bac627bbd660be97ac9b93 (diff) |
add hypnotoad configuration
-rw-r--r-- | cgi/index.pl | 8 |
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__ |