mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
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:
parent
ceacde67b9
commit
6e93633584
@ -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 %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user