ignore favicons
This commit is contained in:
parent
d1250e5053
commit
c635c0ce6a
1 changed files with 4 additions and 1 deletions
|
@ -101,7 +101,10 @@ module Middleman::Base
|
|||
true
|
||||
end
|
||||
else
|
||||
$stderr.puts "File not found: #{request_path}"
|
||||
if !%w(favicon.ico).include?(request_path)
|
||||
$stderr.puts "File not found: #{request_path}"
|
||||
end
|
||||
|
||||
status 404
|
||||
false
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue