]> Sergey Matveev's repositories - public-inbox.git/blobdiff - script/public-inbox-httpd
update copyrights for 2021
[public-inbox.git] / script / public-inbox-httpd
index 09da505e5028952a60551f7bd2ffc25cf57c7780..b31b896d748ec952ab1c6a564b67bc2e49e63d03 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl -w
-# Copyright (C) 2016-2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2016-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 #
 # Standalone HTTP server for public-inbox.
@@ -13,6 +13,7 @@ BEGIN {
        require PublicInbox::HTTP;
        require PublicInbox::HTTPD;
 }
+
 my %httpds;
 my $app;
 my $refresh = sub {
@@ -27,15 +28,6 @@ my $refresh = sub {
                my $www = PublicInbox::WWW->new;
                $www->preload;
                $app = builder {
-                       eval {
-                               enable 'Deflater',
-                                       content_type => [ qw(
-                                               text/html
-                                               text/plain
-                                               application/atom+xml
-                                               )]
-                       };
-
                        eval { enable 'ReverseProxy' };
                        $@ and warn
 "Plack::Middleware::ReverseProxy missing,\n",