mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Add missing dot for remote image (#7751)
This commit is contained in:
parent
12fa2500c4
commit
b7b331ad0d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user