From 12dd1807bc8cbccf7e03391665a64d0d406b92cc Mon Sep 17 00:00:00 2001 From: Jared Allen Date: Thu, 3 Oct 2019 14:16:01 -0400 Subject: [PATCH] Uses secure graph fetch URL. It looks like chartd's SSL certificate is misconfigured. Their certificate covers "*.chartd.co", but their server accepts requests to "chartd.co", which is not covered by their SSL certificate. So, "www.chartd.co" is secure, but "chartd.co" is not. --- lib/chartd/chart.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chartd/chart.rb b/lib/chartd/chart.rb index f9c0e2d..e96835e 100644 --- a/lib/chartd/chart.rb +++ b/lib/chartd/chart.rb @@ -2,7 +2,7 @@ require 'uri' class Chartd - BASE_URL = URI.parse('https://chartd.co/a.png') + BASE_URL = URI.parse('https://www.chartd.co/a.png') class Chart ERR_BAD_DATASET = 'Dataset has to be an array of Fixnums and/or Floats.'.freeze