fix(images.cr): use i.ytimg.com
instead of i9.ytimg.com
for thumbnails
All checks were successful
Invidious CI / build (push) Successful in 5m28s
All checks were successful
Invidious CI / build (push) Successful in 5m28s
This commit is contained in:
parent
b08f7ab7ac
commit
1df1945849
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ module Invidious::Routes::Images
|
|||
if name == "maxres.jpg"
|
||||
build_thumbnails(id).each do |thumb|
|
||||
thumbnail_resource_path = "/vi/#{id}/#{thumb[:url]}.jpg"
|
||||
if get_ytimg_pool("i9").client &.head(thumbnail_resource_path, headers).status_code == 200
|
||||
if get_ytimg_pool("i").client &.head(thumbnail_resource_path, headers).status_code == 200
|
||||
name = thumb[:url] + ".jpg"
|
||||
break
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue