Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
favicon fixed
  • Loading branch information
Zbigniew Lukasiak committed Dec 22, 2010
1 parent 515c8df commit 8fbbe25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Nblog.pm
Expand Up @@ -208,7 +208,7 @@ around psgi_callback => sub {
my $favicon_c = Plack::App::Cascade->new;
for my $root ( $self->static_roots ){
$cascade->add( Plack::App::File->new(root => $root )->to_app );
$favicon_c->add( Plack::App::File->new( root => "$root/static/images/" )->to_app );
$favicon_c->add( Plack::App::File->new( file => "$root/images/favicon.ico" )->to_app );
};
my $app = Plack::App::URLMap->new;
$app->map( '/static', $cascade );
Expand Down
Binary file modified static/images/favicon.ico
Binary file not shown.

0 comments on commit 8fbbe25

Please sign in to comment.