0.0.167
This commit is contained in:
@@ -9,17 +9,21 @@
|
||||
|
||||
|
||||
<script src='{% static "js/jquery_v3_6_4.js" %}'> </script>
|
||||
<script src='{% static "js/chat_sockets.js" %}'></script>
|
||||
<script src="{% static "js/global_js.js" %}"></script>
|
||||
<script>
|
||||
|
||||
{#var user_id = {{ user.id }}#}
|
||||
ws_url = `ws://{% get_ws_address %}/ws/socket-server/?user_id={{ user.id }}`;
|
||||
var chatSocket;
|
||||
init_ws()
|
||||
const beep = new Audio('/static/sounds/beep_2.mp3')
|
||||
</script>
|
||||
|
||||
{% if user and not user.is_anonymous %}
|
||||
<script src='{% static "js/chat_sockets.js" %}'></script>
|
||||
<script src="{% static "js/global_js.js" %}"></script>
|
||||
<script>
|
||||
|
||||
{#var user_id = {{ user.id }}#}
|
||||
ws_url = `ws://{% get_ws_address %}/ws/socket-server/?user_id={{ user.id }}`;
|
||||
var chatSocket;
|
||||
init_ws()
|
||||
const beep = new Audio('/static/sounds/beep_2.mp3')
|
||||
</script>
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user