Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (17 sloc) 432 Bytes
#!perl -Imodules/Plack/lib modules/Plack/scripts/plackup -r -app
use strict;
use warnings;
use utf8;
use lib glob 'modules/*/lib';
use lib glob 'extlib/*/lib';
use UNIVERSAL::require;
use Plack::Builder;
use Path::Class;
use File::Basename qw(dirname);
use Niro;
my $handler = \&Niro::run;
builder {
enable "Plack::Middleware::Static",
path => qr{^//?static/}, root => dirname(__FILE__) . '/../';
$handler;
};