use grit to get the file's mime type, as suggested.
http://github.com/github/gollum/commit/6de9ddfd3f79a9cb320aab3c43b8e0a912107b2e#commitcomment-137656
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
* Minor Enhancements
|
||||
* Support a `:gollum_path` Sinatra setting for `Precious::App`
|
||||
* Add Wiki#size to efficiently count pages without loading them.
|
||||
* Add the correct content type when serving files from the frontend.
|
||||
* Bug Fixes
|
||||
* Increase minimum Sanitize version requirement to 1.1.0.
|
||||
1.0.x versions of Sanitize require Hpricot instead of Nokogiri
|
||||
|
||||
Reference in New Issue
Block a user