From 5ac448e57e94bb8f286df0cfcebb7dfed066ed40 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 20 Jun 2018 17:10:32 -0400 Subject: add hypnotoad to vagrant --- Bugzilla/Quantum/Plugin/Glue.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Quantum') 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; -- cgit v1.2.3-24-g4f1b