File: lei-mirror.psgi

package info (click to toggle)
public-inbox 1.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,152 kB
  • sloc: perl: 52,771; sh: 302; ansic: 106; makefile: 37
file content (9 lines) | stat: -rw-r--r-- 222 bytes parent folder | download
1
2
3
4
5
6
7
8
9
use Plack::Builder;
use PublicInbox::WWW;
my $www = PublicInbox::WWW->new;
$www->preload;
builder {
	enable 'Head';
	mount '/pfx' => builder { sub { $www->call(@_) } };
	mount '/' => builder { sub { $www->call(@_) } };
};