summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Quantum.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-05-20 00:45:58 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:56 +0200
commitf5a81daeeb16c6f64475f3a48b8ea5eb0ec84c9b (patch)
tree055fdfc7e03b9e6577f1f7fa833f7a29bb81ded2 /Bugzilla/Quantum.pm
parent723767dc121db1047e1803998ddbbc6c343b1064 (diff)
downloadbugzilla-f5a81daeeb16c6f64475f3a48b8ea5eb0ec84c9b.tar.gz
bugzilla-f5a81daeeb16c6f64475f3a48b8ea5eb0ec84c9b.tar.xz
run mojolicious daemon instead of httpd
Diffstat (limited to 'Bugzilla/Quantum.pm')
-rw-r--r--Bugzilla/Quantum.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/Quantum.pm b/Bugzilla/Quantum.pm
index 7cfed59c6..7270ada55 100644
--- a/Bugzilla/Quantum.pm
+++ b/Bugzilla/Quantum.pm
@@ -66,6 +66,13 @@ rewrite => 1,
$r->any('/')->to('Legacy#index_cgi');
+ $r->get(
+ '/__lbheartbeat__' => sub {
+ my $c = shift;
+ $c->reply->file($c->app->home->child('__lbheartbeat__'));
+ },
+ );
+
my $urlbase = Bugzilla->localconfig->{urlbase};
$r->get(
'/quicksearch.html' => sub {