X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=script%2Fpublic-inbox-httpd;h=56551eded7e0065fdb5891aef6f3604ad7c719eb;hb=d883d4a93b23be134038e28f421eafca70c3d838;hp=43f1818861ed1d10f0032ec3891029e4ff79a2c3;hpb=3d41aa23f35501ca92aab8aa42980fa73f7fa74f;p=public-inbox.git diff --git a/script/public-inbox-httpd b/script/public-inbox-httpd index 43f18188..56551ede 100755 --- a/script/public-inbox-httpd +++ b/script/public-inbox-httpd @@ -21,8 +21,8 @@ my $refresh = sub { } } else { require PublicInbox::WWW; - PublicInbox::WWW->preload; my $www = PublicInbox::WWW->new; + $www->preload; $app = builder { eval { enable 'Deflater', @@ -32,8 +32,6 @@ my $refresh = sub { application/atom+xml )] }; - $@ and warn -"Plack::Middleware::Deflater missing, bandwidth will be wasted\n"; eval { enable 'ReverseProxy' }; $@ and warn