diff options
Diffstat (limited to 'chat/templates/room.html')
| -rw-r--r-- | chat/templates/room.html | 4 |
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' |
