mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-26 23:47:25 +00:00
Fix author thumbnail for community replies
This commit is contained in:
parent
fb383458d7
commit
60826c2d0c
@ -719,7 +719,7 @@ def fetch_channel_community(ucid, continuation, locale, config, kemal_config)
|
|||||||
|
|
||||||
qualities.each do |quality|
|
qualities.each do |quality|
|
||||||
json.object do
|
json.object do
|
||||||
json.field "url", author_thumbnail.gsub("=s100-", "=s#{quality}-")
|
json.field "url", author_thumbnail.gsub(/s\d+-/, "s#{quality}-")
|
||||||
json.field "width", quality
|
json.field "width", quality
|
||||||
json.field "height", quality
|
json.field "height", quality
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user