changes
This commit is contained in:
parent
173f74cec6
commit
95357d5c63
@ -19,6 +19,7 @@ use warnings;
|
|||||||
use Plack::Builder;
|
use Plack::Builder;
|
||||||
use Plack::Request;
|
use Plack::Request;
|
||||||
use Plack::Response;
|
use Plack::Response;
|
||||||
|
|
||||||
# Static files
|
# Static files
|
||||||
use Plack::App::File;
|
use Plack::App::File;
|
||||||
|
|
||||||
@ -178,7 +179,7 @@ my $user = sub {
|
|||||||
|
|
||||||
# Mountpoints
|
# Mountpoints
|
||||||
builder {
|
builder {
|
||||||
mount "/static" => Plack::App::File->new(root => './s/')->to_app;
|
mount "/static" => Plack::App::File->new( root => './s/' )->to_app;
|
||||||
mount '/' => $root;
|
mount '/' => $root;
|
||||||
mount '/e' => $echo;
|
mount '/e' => $echo;
|
||||||
mount '/s' => $thread;
|
mount '/s' => $thread;
|
||||||
|
Loading…
Reference in New Issue
Block a user