]> git.parisson.com Git - teleforma.git/commitdiff
Use HTTPS 1.3-TC
authoryomguy <yomguy@parisson.com>
Thu, 28 Jun 2018 09:37:40 +0000 (11:37 +0200)
committeryomguy <yomguy@parisson.com>
Thu, 28 Jun 2018 09:37:40 +0000 (11:37 +0200)
teleforma/views/core.py

index 0817a0e6d14c68d9d34b0cdf0a9495fdd3105676..e222f2d8a6cd2850f0a7616ebdd1223a978169db 100644 (file)
@@ -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())