Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 286 Bytes
# app.psgi for prereviewing the generated content
use Plack::Builder;
use Plack::App::File;
use Plack::Middleware::DirIndex;
my $app = Plack::App::File->new({ root => './www/' })->to_app;
builder {
enable "Plack::Middleware::DirIndex", dir_index => 'index.html';
$app;
}
Something went wrong with that request. Please try again.