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

executable file 26 lines (20 sloc) 0.379 kB
#!/usr/bin/env perl
# vim:ts=4:sw=4:expandtab
use strict;
use warnings;
use EV;
use Twiggy::Server;
use Dancer;
use npmd;
my $server = Twiggy::Server->new(
host => '0.0.0.0',
port => 5000
);
my $app = sub {
my $env = shift;
my $request = Dancer::Request->new( $env );
Dancer->dance( $request );
};
$server->register_service($app);
EV::loop
#AE::cv->recv
Jump to Line
Something went wrong with that request. Please try again.