mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +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:
|
Use the following URLs to configure your communication server:
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
|
|
||||||
<pre>stun:{{ config.realm }}:3478?transport=udp
|
<pre>{% for uri in config.uris %}{{ uri }}
|
||||||
stun:{{ config.realm }}:3478?transport=tcp
|
{% endfor %}</pre>
|
||||||
turn:{{ config.realm }}:3478?transport=udp
|
|
||||||
turn:{{ config.realm }}:3478?transport=tcp</pre>
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -27,6 +25,6 @@ turn:{{ config.realm }}:3478?transport=tcp</pre>
|
|||||||
Use the following shared authentication secret:
|
Use the following shared authentication secret:
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
|
|
||||||
<pre>{{ config.static_auth_secret }}</pre>
|
<pre>{{ config.shared_secret }}</pre>
|
||||||
</p>
|
</p>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user