Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 13 lines (9 sloc) 0.286 kb
3157b98 @ranguard Add app.psgi for testing
ranguard authored
1 # app.psgi for prereviewing the generated content
2
3 use Plack::Builder;
4 use Plack::App::File;
5 use Plack::Middleware::DirIndex;
6
7 my $app = Plack::App::File->new({ root => './www/' })->to_app;
8
9 builder {
10 enable "Plack::Middleware::DirIndex", dir_index => 'index.html';
11 $app;
12 }
Something went wrong with that request. Please try again.