app/test.psgi
app/pod-files/test.pod
app/static/test.html
app/html-files/test.html
####
builder {
enable "Static",
path => qr!^/static!,
;
enable "Plack::Middleware::Pod", # great module!
path => qr!^/pod!,
root => 'pod-files',
pod_view => 'Pod::POM::View::HTML',
;
$app;
};
####
/app/pod/test.pod OK
/app/static/test.html OK
####
builder {
enable "Static",
path => qr!^/static!,
root => 'html-files',
;
enable "Plack::Middleware::Pod",
path => qr!^/pod!,
root => 'pod-files',
pod_view => 'Pod::POM::View::HTML',
;
$app;
};
####
/app/pod/test.pod OK
/app/static/test.html not found