summaryrefslogtreecommitdiffstats
path: root/src/helpers.cr
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers.cr')
-rw-r--r--src/helpers.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers.cr b/src/helpers.cr
index 30e544e5..dd62cfc0 100644
--- a/src/helpers.cr
+++ b/src/helpers.cr
@@ -223,7 +223,7 @@ def rank_videos(db, n)
end
def make_client(url, context)
- client = HTTP::Client.new(URL, CONTEXT)
+ client = HTTP::Client.new(url, context)
client.read_timeout = 10.seconds
client.connect_timeout = 10.seconds
return client