Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (14 sloc) 0.517 kb
use File::Spec;
use File::Basename;
use lib File::Spec->catdir(dirname(__FILE__), 'extlib', 'lib', 'perl5');
use lib File::Spec->catdir(dirname(__FILE__), 'lib');
use NoPasta::Web;
use Plack::Builder;
builder {
enable 'Plack::Middleware::Static',
path => qr{^(?:/static/|/robot\.txt$|/favicon.ico$)},
root => File::Spec->catdir(dirname(__FILE__), 'htdocs');
enable 'Plack::Middleware::Log::Minimal', autodump => 1;
enable 'Plack::Middleware::ReverseProxy';
NoPasta::Web->to_app();
};
Jump to Line
Something went wrong with that request. Please try again.