Skip to content

Commit

Permalink
psgi: fix /images
Browse files Browse the repository at this point in the history
  • Loading branch information
eserte committed Apr 16, 2015
1 parent 6a26486 commit b7a196c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpan-testers-matrix.psgi
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ builder {
mount '/favicon.ico' => $favicon;
mount '/cpantesters_favicon.ico' => $favicon;

mount '/images' => Plack::App::File->new(file => catfile($root, 'images'));
mount '/images' => Plack::App::Directory->new({ root => catfile($root, 'images') });

for my $mount (@mounts) {
mount $mount->[0] => $mount->[1];
Expand Down

0 comments on commit b7a196c

Please sign in to comment.