X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=examples%2Fcgit.psgi;h=876171b93c3d238634e66dda3f6bb344a1d6ef89;hb=HEAD;hp=7ad38e2802246fe491ad5464da5964440e4894b9;hpb=a3f00c4a7851b98b81a2fcb31d5ed131908e22de;p=public-inbox.git diff --git a/examples/cgit.psgi b/examples/cgit.psgi index 7ad38e28..876171b9 100644 --- a/examples/cgit.psgi +++ b/examples/cgit.psgi @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -# Copyright (C) 2019-2020 all contributors +# Copyright (C) 2019-2021 all contributors # License: GPL-3.0+ # # PublicInbox::Cgit may be used independently of WWW. @@ -14,8 +14,8 @@ 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 'ReverseProxy' };