diff options
| author | syeopite <70992037+syeopite@users.noreply.github.com> | 2024-04-25 20:40:39 +0000 |
|---|---|---|
| committer | syeopite <syeopite@syeopite.dev> | 2025-02-18 14:46:18 -0800 |
| commit | d853b9f6dc17069046ffeb863906209226381a1e (patch) | |
| tree | ff73358a320ffa3ce811c1e1e52763bac23c573f | |
| parent | 164d764d553921e6ee98facda241f13c2103ec90 (diff) | |
| download | invidious-d853b9f6dc17069046ffeb863906209226381a1e.tar.gz invidious-d853b9f6dc17069046ffeb863906209226381a1e.tar.bz2 invidious-d853b9f6dc17069046ffeb863906209226381a1e.zip | |
Typo
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
| -rw-r--r-- | src/invidious/routes/images.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/routes/images.cr b/src/invidious/routes/images.cr index 639697db..51d85dfe 100644 --- a/src/invidious/routes/images.cr +++ b/src/invidious/routes/images.cr @@ -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 |
