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

View File

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