summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsyeopite <70992037+syeopite@users.noreply.github.com>2024-04-25 20:40:39 +0000
committersyeopite <syeopite@syeopite.dev>2025-02-18 14:46:18 -0800
commitd853b9f6dc17069046ffeb863906209226381a1e (patch)
treeff73358a320ffa3ce811c1e1e52763bac23c573f /src
parent164d764d553921e6ee98facda241f13c2103ec90 (diff)
downloadinvidious-d853b9f6dc17069046ffeb863906209226381a1e.tar.gz
invidious-d853b9f6dc17069046ffeb863906209226381a1e.tar.bz2
invidious-d853b9f6dc17069046ffeb863906209226381a1e.zip
Typo
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
Diffstat (limited to 'src')
-rw-r--r--src/invidious/routes/images.cr2
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