From: yomguy Date: Thu, 28 Jun 2018 09:37:40 +0000 (+0200) Subject: Use HTTPS X-Git-Tag: 1.3-TC X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a5ba641dfc4c18da544febb5f7d67013184e06f2;p=teleforma.git Use HTTPS --- 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())