From 0a63cad39593ddd7e8a5e57d9d7a4a984118e171 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 7 Feb 2014 09:04:43 +0100 Subject: [PATCH] IP for source redirection --- teleforma/sources/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/sources/models.py b/teleforma/sources/models.py index e3927f0c..82fc4a41 100644 --- a/teleforma/sources/models.py +++ b/teleforma/sources/models.py @@ -53,4 +53,4 @@ class Source(Model): @property def default_record_url(self): - return 'http://' + self.public_id + '/' + self.monitors.all()[0].record_path + return 'http://' + str(self.ip) + '/' + self.monitors.all()[0].record_path -- 2.39.5