Connect to api.invidious.io with https

pull/1940/head
syeopite 4 years ago
parent 09f7e38eed
commit cb525af0a2
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82

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

Loading…
Cancel
Save