1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Add missing dot for remote image ()

This commit is contained in:
Yamagishi Kazutoshi 2018-06-07 03:49:39 +09:00 committed by Eugen Rochko
parent 12fa2500c4
commit b7b331ad0d

View file

@ -69,7 +69,11 @@ module Remotable
return if type.nil?
type.extensions.first
extname = type.extensions.first
return if extname.nil?
".#{extname}"
end
def parse_content_type(content_type)