Commit 0a76bcb4 authored by Alexis Reigel's avatar Alexis Reigel

register ico mime type

`#send_file` won't properly set the favicon's content type otherwise.
parent 44d7b158
...@@ -15,3 +15,5 @@ Mime::Type.register "video/ogg", :ogv ...@@ -15,3 +15,5 @@ Mime::Type.register "video/ogg", :ogv
Mime::Type.unregister :json Mime::Type.unregister :json
Mime::Type.register 'application/json', :json, [LfsRequest::CONTENT_TYPE, 'application/json'] Mime::Type.register 'application/json', :json, [LfsRequest::CONTENT_TYPE, 'application/json']
Mime::Type.register 'image/x-icon', :ico
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment