X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=examples%2Fcgit.psgi;h=48e3798b4e1402e4083bc19fd0321381cda9300e;hb=8862c33ae93eea1af6246cd3c7a81e0a122186bf;hp=e72e832d03be09b9c5aeedbc9620a2e1a40c4681;hpb=9253dc860de52360d3bc60710422783457143e3d;p=public-inbox.git diff --git a/examples/cgit.psgi b/examples/cgit.psgi index e72e832d..48e3798b 100644 --- a/examples/cgit.psgi +++ b/examples/cgit.psgi @@ -14,18 +14,10 @@ use warnings; use Plack::Builder; use PublicInbox::Cgit; use PublicInbox::Config; -my $pi_config = PublicInbox::Config->new; -my $cgit = PublicInbox::Cgit->new($pi_config); +my $pi_cfg = PublicInbox::Config->new; +my $cgit = PublicInbox::Cgit->new($pi_cfg); builder { - eval { - enable 'Deflater', - content_type => [ qw( - text/html - text/plain - application/atom+xml - )] - }; eval { enable 'ReverseProxy' }; enable 'Head'; sub { $cgit->call($_[0]) }