This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
og:image 允许不规范的 image/jpg (兼容网易云音乐)
closed-social-v3
欧醚
3 years ago
parent
c96e2c1d8f
commit
2a780b1118
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/models/preview_card.rb
+ 1
- 1
app/models/preview_card.rb
View File
@ -27,7 +27,7 @@
#
class
PreviewCard
<
ApplicationRecord
IMAGE_MIME_TYPES
=
[
'image/jpeg'
,
'image/png'
,
'image/gif'
]
.
freeze
IMAGE_MIME_TYPES
=
[
'image/jp
g'
,
'image/jp
eg'
,
'image/png'
,
'image/gif'
]
.
freeze
LIMIT
=
1
.
megabytes
BLURHASH_OPTIONS
=
{
Write
Preview
Loading…
Cancel
Save