Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/pierre-vigier/Dancer2 int…
Browse files Browse the repository at this point in the history
…o pierre-vigier-master
  • Loading branch information
ambs committed Oct 5, 2017
2 parents fd09040 + 254cc5d commit 3229aea
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions share/skel/bin/+app.psgi
Expand Up @@ -11,15 +11,6 @@ use [d2% appname %2d];

[d2% appname %2d]->to_app;

use Plack::Builder;

builder {
enable 'Deflater';
[d2% appname %2d]->to_app;
}



=begin comment
# use this block if you want to include middleware such as Plack::Middleware::Deflater
Expand All @@ -36,11 +27,13 @@ builder {
=cut

=begin comment
# use this block if you want to include middleware such as Plack::Middleware::Deflater
# use this block if you want to mount several applications on different path
use [d2% appname %2d];
use [d2% appname %2d]_admin;
use Plack::Builder;
builder {
mount '/' => [d2% appname %2d]->to_app;
mount '/admin' => [d2% appname %2d]_admin->to_app;
Expand Down

0 comments on commit 3229aea

Please sign in to comment.