Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

change the order

  • Loading branch information...
commit 2926274bd03db0f5db285a48696f12ff5975b68b 1 parent 5447a3e
@miyagawa miyagawa authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/plackup
View
4 scripts/plackup
@@ -31,11 +31,11 @@ lib->import(@includes) if @includes;
my $handler = Plack::Util::load_psgi $app;
if ($env eq 'development') {
- require Plack::Middleware::AccessLog;
- $handler = Plack::Middleware::AccessLog->wrap(logger => sub { print STDERR @_ }, $handler);
if (eval "require Plack::Middleware::DebugScreen; 1") {
$handler = Plack::Middleware::DebugScreen->wrap($handler);
}
+ require Plack::Middleware::AccessLog;
+ $handler = Plack::Middleware::AccessLog->wrap(logger => sub { print STDERR @_ }, $handler);
}
my @args = map { s/^--//; $_ } @ARGV;

0 comments on commit 2926274

Please sign in to comment.
Something went wrong with that request. Please try again.