Skip to content

Commit

Permalink
mention that extra files are only a fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jul 26, 2017
1 parent ecc4174 commit 783a9bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Mojolicious/Static.pm
Expand Up @@ -198,7 +198,9 @@ startup.
$static = $static->extra({'foo/bar.txt' => '/home/sri/myapp/bar.txt'};
Paths for extra files to be served from locations other than L</"paths">, such
as images used by the built-in exception and not found pages.
as the images used by the built-in exception and not found pages. Note that
extra files are only served if no better alternative could be found in
L</"paths"> and L</"classes">.
# Remove built-in favicon
delete $static->extra->{'favicon.ico'};
Expand Down

0 comments on commit 783a9bb

Please sign in to comment.