summaryrefslogtreecommitdiffstats
path: root/chat/templates/room.html
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <tom@vanderlee.io>2026-07-01 21:32:07 +0200
committerGravatar Tom van der Lee <tom@vanderlee.io>2026-07-01 21:32:07 +0200
commit9c4e4ab4c3504710efd8483c1e27692301afb940 (patch)
tree9b24182db9362220b39aee4e79857a35b7fde3e7 /chat/templates/room.html
parenta188df3ae359ab770aac85d19d23739286ef6d41 (diff)
downloadwebsocket-chat-9c4e4ab4c3504710efd8483c1e27692301afb940.tar.gz
websocket-chat-9c4e4ab4c3504710efd8483c1e27692301afb940.tar.bz2
websocket-chat-9c4e4ab4c3504710efd8483c1e27692301afb940.zip
Fixed issuesmain
Diffstat (limited to 'chat/templates/room.html')
-rw-r--r--chat/templates/room.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/chat/templates/room.html b/chat/templates/room.html
index de76f67..502b7c8 100644
--- a/chat/templates/room.html
+++ b/chat/templates/room.html
@@ -391,9 +391,7 @@
391 } 391 }
392 392
393 const chatSocket = new WebSocket( 393 const chatSocket = new WebSocket(
394 'ws://' 394 '/ws/chat/'
395 + window.location.host
396 + '/ws/chat/'
397 + roomName 395 + roomName
398 + '/' 396 + '/'
399 + '?token=123' 397 + '?token=123'