Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 12 lines (9 sloc) 0.286 kb
3157b980 » ranguard
2012-07-18 Add app.psgi for testing
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.