projects
/
scpubgit/SCS.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
drop calling ->to_app for static serving since it isn't required
[scpubgit/SCS.git]
/
lib
/
SCSite
/
DevMode.pm
diff --git
a/lib/SCSite/DevMode.pm
b/lib/SCSite/DevMode.pm
index
89d69d9
..
e0f446a
100644
(file)
--- a/
lib/SCSite/DevMode.pm
+++ b/
lib/SCSite/DevMode.pm
@@
-9,7
+9,7
@@
has _static_handler => (is => 'lazy');
sub _build__static_handler {
my ($self) = @_;
my $static_dir = $self->config->{static_dir};
- Plack::App::File->new(root => $static_dir)->to_app;
+ Plack::App::File->new(root => $static_dir);
}
around dispatch_request => sub {