Merge remote-tracking branch 'origin/main'

This commit is contained in:
2023-08-16 15:36:14 +03:00
4 changed files with 25 additions and 10 deletions

View File

@@ -1,4 +1,6 @@
{% load static %}
{% load tt_chat %}
<!DOCTYPE html>
<html lang="en">
<head>
@@ -10,7 +12,7 @@
<script>
{#var user_id = {{ user.id }}#}
ws_url = `ws://localhost:{{ ws_port }}/ws/socket-server/?user_id={{ user.id }}`;
ws_url = `ws://localhost:{% get_ws_port %}/ws/socket-server/?user_id={{ user.id }}`;
</script>