mirror of
https://github.com/iv-org/invidious.git
synced 2025-10-25 08:48:10 +00:00
Fix monkeypatch for HTTP::Client
This commit is contained in:
@@ -5446,7 +5446,7 @@ get "/videoplayback" do |env|
|
||||
|
||||
client = make_client(URI.parse(host), region)
|
||||
|
||||
response = HTTP::Client::Response.new(403)
|
||||
response = HTTP::Client::Response.new(500)
|
||||
5.times do
|
||||
begin
|
||||
response = client.head(url, headers)
|
||||
|
||||
Reference in New Issue
Block a user