Skip to content
Browse files

favicon fixed

  • Loading branch information...
1 parent 515c8df commit 8fbbe25d814ea39ee3f07dfa0c067edca563ffd8 Zbigniew Lukasiak committed Dec 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Nblog.pm
  2. BIN static/images/favicon.ico
View
2 lib/Nblog.pm
@@ -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 );
View
BIN static/images/favicon.ico
Binary file not shown.

0 comments on commit 8fbbe25

Please sign in to comment.
Something went wrong with that request. Please try again.