Merge pull request #159 from Leeingnyo/fix/favicon-500-error

Fix HTTP 500 Error when accessing the favicon
This commit is contained in:
Alex Ling 2021-02-06 16:34:56 +08:00 committed by GitHub
commit 171125e8ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,7 @@ def register_mime_types
".rar" => "application/x-rar-compressed", ".rar" => "application/x-rar-compressed",
".cbz" => "application/vnd.comicbook+zip", ".cbz" => "application/vnd.comicbook+zip",
".cbr" => "application/vnd.comicbook-rar", ".cbr" => "application/vnd.comicbook-rar",
".ico" => "image/x-icon",
}.each do |k, v| }.each do |k, v|
MIME.register k, v MIME.register k, v
end end