From f996f06083a184a822f99285b4b27ddf52b80525 Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 6 Mar 2021 02:48:24 +0100 Subject: [PATCH] matemat: use https --- matemat/scrape.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matemat/scrape.rb b/matemat/scrape.rb index 7cf2b10..dd86bdb 100644 --- a/matemat/scrape.rb +++ b/matemat/scrape.rb @@ -10,7 +10,7 @@ PASSWORD = ARGV[2] points = [] -data = JSON.parse open("http://#{HOST}/statistics.json", :http_basic_authentication => [USER, PASSWORD]).read() +data = JSON.parse open("https://#{HOST}/statistics.json", :http_basic_authentication => [USER, PASSWORD]).read() points.push({ series: 'statistics', values: data,