diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-06-20 23:10:32 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-06-28 22:41:58 +0200 |
commit | 5ac448e57e94bb8f286df0cfcebb7dfed066ed40 (patch) | |
tree | 8334bb1984f62f7463c1bb5f7750725abfe95266 /Bugzilla/Quantum/Plugin | |
parent | e1b48df3b5cdd81920782a8585864af3b294e919 (diff) | |
download | bugzilla-5ac448e57e94bb8f286df0cfcebb7dfed066ed40.tar.gz bugzilla-5ac448e57e94bb8f286df0cfcebb7dfed066ed40.tar.xz |
add hypnotoad to vagrant
Diffstat (limited to 'Bugzilla/Quantum/Plugin')
-rw-r--r-- | Bugzilla/Quantum/Plugin/Glue.pm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Bugzilla/Quantum/Plugin/Glue.pm b/Bugzilla/Quantum/Plugin/Glue.pm index b46ffb1e1..19896817c 100644 --- a/Bugzilla/Quantum/Plugin/Glue.pm +++ b/Bugzilla/Quantum/Plugin/Glue.pm @@ -29,6 +29,13 @@ sub register { } } + # hypnotoad is weird and doesn't look for MOJO_LISTEN itself. + $app->config( + hypnotoad => { + listen => [ $ENV{MOJO_LISTEN} ], + }, + ); + $app->hook( around_dispatch => sub { my ($next, $c) = @_; @@ -86,4 +93,4 @@ sub register { -1;
\ No newline at end of file +1; |