about summary refs log tree commit homepage
path: root/examples/public-inbox.psgi
diff options
context:
space:
mode:
Diffstat (limited to 'examples/public-inbox.psgi')
-rw-r--r--examples/public-inbox.psgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/public-inbox.psgi b/examples/public-inbox.psgi
index 4d34b426..9fa51ba6 100644
--- a/examples/public-inbox.psgi
+++ b/examples/public-inbox.psgi
@@ -12,13 +12,13 @@ use Plack::Builder;
 my $have_deflater = eval { require Plack::Middleware::Deflater; 1 };
 
 builder {
-        enable 'Plack::Middleware::Chunked';
+        enable 'Chunked';
         if ($have_deflater) {
-                enable "Deflater",
+                enable 'Deflater',
                         content_type => [ 'text/html', 'text/plain',
                                         'application/atom+xml' ];
         }
-        enable "Head";
+        enable 'Head';
         sub {
                 my $req = Plack::Request->new(@_);
                 PublicInbox::WWW::run($req, $req->method);