summaryrefslogtreecommitdiffstats
path: root/bugzilla.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bugzilla.pl')
-rwxr-xr-xbugzilla.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/bugzilla.pl b/bugzilla.pl
index 505b44982..41a4d8e6a 100755
--- a/bugzilla.pl
+++ b/bugzilla.pl
@@ -14,5 +14,7 @@ BEGIN {
}
use Mojolicious::Commands;
+$ENV{MOJO_LISTEN} ||= $ENV{PORT} ? "http://*:$ENV{PORT}" : "http://*:3001";
+
# Start command line interface for application
Mojolicious::Commands->start_app('Bugzilla::Quantum');