projects
/
scpubgit/SCS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
8509b33
)
drop calling ->to_app for static serving since it isn't required
Matt S Trout [Sun, 23 Oct 2011 03:43:42 +0000 (
03:43
+0000)]
lib/SCSite/DevMode.pm
patch
|
blob
|
blame
|
history
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 {