This commit is contained in:
2023-08-16 15:15:17 +03:00
parent 66c142a4d6
commit 0acfaca8f6
8 changed files with 227 additions and 16 deletions

View File

@@ -9,7 +9,9 @@
<script src='{% static "js/jquery_v3_6_4.js" %}'> </script>
<script>
var user_id = {{ user.id }}
{#var user_id = {{ user.id }}#}
ws_url = `ws://localhost:{{ ws_port }}/ws/socket-server/?user_id={{ user.id }}`;
</script>
<script src='{% static "js/chat_sockets.js" %}'></script>