0.12.2 ws fix

This commit is contained in:
SDE
2024-01-22 17:32:03 +03:00
parent 3f7f1d88ed
commit acf7b702ee

View File

@@ -28,7 +28,7 @@
<script> <script>
{#var user_id = {{ user.id }}#} {#var user_id = {{ user.id }}#}
ws_url = `ws://{% get_ws_address %}/ws/socket-server/?user_id={{ user.id }}`; ws_url = `wss://{% get_ws_address %}/ws/socket-server/?user_id={{ user.id }}`;
var chatSocket; var chatSocket;
init_ws() init_ws()
const beep = new Audio('/static/sounds/beep_2.mp3') const beep = new Audio('/static/sounds/beep_2.mp3')