From 3cbf3e9ca8e5792391f76c263aef7b57c5aac0f3 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: May 28 2015 16:33:40 +0000 Subject: Use backend name to get around tls issues. --- diff --git a/fedocal/api.py b/fedocal/api.py index 5c639c9..0178f64 100644 --- a/fedocal/api.py +++ b/fedocal/api.py @@ -484,7 +484,12 @@ endpoint raises a 404. SESSION, calendarobj, start_date, end_date, tzone='UTC') green, red = 'brightgreen', 'red' - template = 'http://b.repl.ca/v1/%s-%s_%s-%s.png' + + ## We *would* use the canonical b.repl.ca url, but it doesn't support SSL + ## the way that we need currently. So, instead we'll use the backend name + ## to get around that. + #template = 'http://b.repl.ca/v1/%s-%s_%s-%s.png' + template = 'https://buckler-bowes.rhcloud.com/v1/%s-%s_%s-%s.png' output = None for meeting in meetings: