mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-18 04:19:27 +00:00
Fix og:image requests when html in a web page is over 1.megabyte (#30362)
This commit is contained in:
parent
2da2a1dae9
commit
6282b6da77
|
@ -56,7 +56,7 @@ class FetchLinkCardService < BaseService
|
|||
|
||||
@html_charset = res.charset
|
||||
|
||||
res.body_with_limit
|
||||
res.truncated_body
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue