Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.401 kB
use FindBin;
use lib "$FindBin::Bin/extlib/lib/perl5";
use lib "$FindBin::Bin/lib";
use File::Basename;
use Plack::Builder;
use Iyemon::Web;
my $root_dir = File::Basename::dirname(__FILE__);
my $app = Iyemon::Web->psgi($root_dir);
builder {
enable 'ReverseProxy';
enable 'Static',
path => qr!^/(?:(?:css|js|img)/|favicon\.ico$)!,
root => $root_dir . '/public';
$app;
};
Jump to Line
Something went wrong with that request. Please try again.