2014-09-02 18:07:02 +05:30
|
|
|
# Be sure to restart your server when you modify this file.
|
|
|
|
|
|
|
|
# Add new mime types for use in respond_to blocks:
|
|
|
|
# Mime::Type.register "text/richtext", :rtf
|
|
|
|
# Mime::Type.register_alias "text/html", :iphone
|
|
|
|
|
|
|
|
Mime::Type.register_alias "text/plain", :diff
|
|
|
|
Mime::Type.register_alias "text/plain", :patch
|
2016-08-24 12:49:21 +05:30
|
|
|
Mime::Type.register_alias "text/html", :markdown
|
|
|
|
Mime::Type.register_alias "text/html", :md
|
|
|
|
|
|
|
|
Mime::Type.register "video/mp4", :mp4, [], [:m4v, :mov]
|
|
|
|
Mime::Type.register "video/webm", :webm
|
|
|
|
Mime::Type.register "video/ogg", :ogv
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2016-09-29 09:46:39 +05:30
|
|
|
Mime::Type.unregister :json
|
2018-03-17 18:26:18 +05:30
|
|
|
Mime::Type.register 'application/json', :json, [LfsRequest::CONTENT_TYPE, 'application/json']
|
2018-11-08 19:23:39 +05:30
|
|
|
|
|
|
|
Mime::Type.register 'image/x-icon', :ico
|