2 # Copyright (C) 2019-2021 all contributors <meta@public-inbox.org>
3 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
5 # Usage: plackup [OPTIONS] /path/to/this/file
6 # A startup command for development which monitors changes:
7 # plackup -I lib -o 127.0.0.1 -R lib -r examples/highlight.psgi
9 # .psgi paths may also be passed to public-inbox-httpd(1) for
10 # production deployments:
11 # public-inbox-httpd [OPTIONS] /path/to/examples/highlight.psgi
14 use PublicInbox::WwwHighlight;
16 my $hl = PublicInbox::WwwHighlight->new;
17 builder { sub { $hl->call(@_) }; }