]> Sergey Matveev's repositories - public-inbox.git/blob - examples/highlight.psgi
nntp: fix redundant CRLF from "LISTGROUP GROUP RANGE"
[public-inbox.git] / examples / highlight.psgi
1 #!/usr/bin/perl -w
2 # Copyright (C) 2019 all contributors <meta@public-inbox.org>
3 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
4 #
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
8 use strict;
9 use warnings;
10 use PublicInbox::WwwHighlight;
11 use Plack::Builder;
12 my $hl = PublicInbox::WwwHighlight->new;
13 builder { sub { $hl->call(@_) }; }