diff options
author | Eric Wong <e@80x24.org> | 2019-12-25 07:50:49 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-12-27 20:00:37 +0000 |
commit | db748229054d52cdcc95843db5d827b49defeaff (patch) | |
tree | f3619e64ed55172fbbb88ba79a6bd881d6116c0c /lib/PublicInbox/WWW.pm | |
parent | 07d0e2d336d4697c3284fe3dd59dae0583984e23 (diff) | |
download | public-inbox-db748229054d52cdcc95843db5d827b49defeaff.tar.gz |
cgit users won't need Plack::Util, here.
Diffstat (limited to 'lib/PublicInbox/WWW.pm')
-rw-r--r-- | lib/PublicInbox/WWW.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm index 4b7177c1..251979d5 100644 --- a/lib/PublicInbox/WWW.pm +++ b/lib/PublicInbox/WWW.pm @@ -15,7 +15,6 @@ use 5.010_001; use strict; use warnings; use bytes (); # only for bytes::length -use Plack::Util; use PublicInbox::Config; use PublicInbox::Hval; use URI::Escape qw(uri_unescape); @@ -472,6 +471,7 @@ sub cgit { require PublicInbox::Cgit; PublicInbox::Cgit->new($pi_config); } else { + require Plack::Util; Plack::Util::inline_object(call => sub { r404() }); } } |