Update static/index.html
Browse files- static/index.html +1 -1
static/index.html
CHANGED
@@ -55,7 +55,7 @@
|
|
55 |
});
|
56 |
|
57 |
// Initialize WebSocket connection
|
58 |
-
socket = new WebSocket(`
|
59 |
|
60 |
socket.onmessage = (event) => {
|
61 |
const data = JSON.parse(event.data);
|
|
|
55 |
});
|
56 |
|
57 |
// Initialize WebSocket connection
|
58 |
+
socket = new WebSocket(`wss://${window.location.host}/ws`);
|
59 |
|
60 |
socket.onmessage = (event) => {
|
61 |
const data = JSON.parse(event.data);
|