Update multichat example

This commit is contained in:
Ola
2022-11-26 13:56:28 +01:00
parent 36179d2ce2
commit c5e7d90715
2 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
</center>
<script>
var url = "ws://" + window.location.host + window.location.pathname + "/ws";
var url = "ws://" + window.location.host + "/ws";
var ws = new WebSocket(url);
var name = "Guest" + Math.floor(Math.random() * 1000);
var channelName = window.location.pathname.split("/")[2];