Connect to api.invidious.io with https

This commit is contained in:
syeopite 2021-06-16 01:32:33 -07:00
parent 09f7e38eed
commit cb525af0a2
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82

View File

@ -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