From a5ba641dfc4c18da544febb5f7d67013184e06f2 Mon Sep 17 00:00:00 2001 From: yomguy Date: Thu, 28 Jun 2018 11:37:40 +0200 Subject: [PATCH] Use HTTPS --- teleforma/views/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teleforma/views/core.py b/teleforma/views/core.py index 0817a0e6..e222f2d8 100644 --- a/teleforma/views/core.py +++ b/teleforma/views/core.py @@ -479,7 +479,7 @@ class ConferenceView(CourseAccessMixin, DetailView): station.stop() if 'telecaster' in settings.INSTALLED_APPS: try: - url = 'http://' + conference.department.domain + '/json/' + url = 'https://' + conference.department.domain + '/json/' s = ServiceProxy(url) s.teleforma.stop_conference(conference.public_id) except: @@ -646,7 +646,7 @@ class ConferenceRecordView(FormView): raise 'Error : input must be a conference dictionnary' def push(self): - url = 'http://' + self.conference.department.domain + '/json/' + url = 'https://' + self.conference.department.domain + '/json/' s = ServiceProxy(url) s.teleforma.create_conference(self.conference.to_json_dict()) -- 2.39.5