coturn: Minor refactor view to use utility to generate URIs

Sunil:
 - Join the string in the template instead of the view.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Joseph Nuthalapati 2021-02-26 11:17:39 -08:00 committed by Sunil Mohan Adapa
parent ceacde67b9
commit 6e93633584
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -16,10 +16,8 @@
Use the following URLs to configure your communication server:
{% endblocktrans %}
<pre>stun:{{ config.realm }}:3478?transport=udp
stun:{{ config.realm }}:3478?transport=tcp
turn:{{ config.realm }}:3478?transport=udp
turn:{{ config.realm }}:3478?transport=tcp</pre>
<pre>{% for uri in config.uris %}{{ uri }}
{% endfor %}</pre>
</p>
<p>
@ -27,6 +25,6 @@ turn:{{ config.realm }}:3478?transport=tcp</pre>
Use the following shared authentication secret:
{% endblocktrans %}
<pre>{{ config.static_auth_secret }}</pre>
<pre>{{ config.shared_secret }}</pre>
</p>
{% endblock %}