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

15 lines (13 sloc) 0.464 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 MetaCPANExplorer::Web;
use Plack::Builder;
builder {
enable 'Plack::Middleware::Static',
path => qr{^(?:/static/|/robot\.txt$|/favicon.ico$)},
root => File::Spec->catdir(dirname(__FILE__));
enable 'Plack::Middleware::ReverseProxy';
MetaCPANExplorer::Web->to_app();
};
Jump to Line
Something went wrong with that request. Please try again.