Merge pull request #2443 from iv-org/syeopite-patch-1

Use make_client when querying instance api
pull/2215/head
syeopite 3 years ago committed by GitHub
commit 3e781b7d13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -412,7 +412,7 @@ end
def fetch_random_instance
begin
instance_api_client = HTTP::Client.new(URI.parse("https://api.invidious.io"))
instance_api_client = make_client(URI.parse("https://api.invidious.io"))
# Timeouts
instance_api_client.connect_timeout = 10.seconds

Loading…
Cancel
Save