2 # Copyright (C) 2019 all contributors <meta@public-inbox.org>
3 # License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
5 # PublicInbox::Cgit may be used independently of WWW.
8 # plackup -I lib -o 127.0.0.1 -R lib -r examples/cgit.psgi
12 use PublicInbox::Cgit;
13 use PublicInbox::Config;
14 my $pi_config = PublicInbox::Config->new;
15 my $cgit = PublicInbox::Cgit->new($pi_config);
26 eval { enable 'ReverseProxy' };
28 sub { $cgit->call($_[0]) }