Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 316 Bytes
# PSGI application bootstraper for Dancer
use lib '/home/kappa/work/app-cpanhubble/cpanhubble';
use cpanhubble;
use Dancer::Config 'setting';
setting apphandler => 'PSGI';
Dancer::Config->load;
my $handler = sub {
my $env = shift;
my $request = Dancer::Request->new($env);
Dancer->dance($request);
};