mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Use https for ggpht requests
This commit is contained in:
parent
6b8450558d
commit
547abe17d9
1 changed files with 2 additions and 2 deletions
|
@ -48,13 +48,13 @@ module Invidious::Routes::Images
|
|||
return request_proc.call(resp)
|
||||
end
|
||||
else
|
||||
HTTP::Client.get("yt3.ggpht.com#{url}") do |resp|
|
||||
HTTP::Client.get("https://yt3.ggpht.com#{url}") do |resp|
|
||||
return request_proc.call(resp)
|
||||
end
|
||||
end
|
||||
{% else %}
|
||||
# This can likely be optimized into a (small) pool sometime in the future.
|
||||
HTTP::Client.get("yt3.ggpht.com#{url}") do |resp|
|
||||
HTTP::Client.get("https://yt3.ggpht.com#{url}") do |resp|
|
||||
return request_proc.call(resp)
|
||||
end
|
||||
{% end %}
|
||||
|
|
Loading…
Reference in a new issue