check post csrf8

This commit is contained in:
SBD
2024-01-12 16:49:38 +03:00
parent 231d062814
commit 35c09dc70b

View File

@@ -28,7 +28,7 @@
<script> <script>
{#var user_id = {{ user.id }}#} {#var user_id = {{ user.id }}#}
ws_url = `wss://{% get_ws_address %}/ws/socket-server/?user_id={{ user.id }}`; ws_url = `ws://{% 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')