diff options
Diffstat (limited to 'os/platforms/v1/index.html')
-rw-r--r-- | os/platforms/v1/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/platforms/v1/index.html b/os/platforms/v1/index.html index f08c0c12..399d2e89 100644 --- a/os/platforms/v1/index.html +++ b/os/platforms/v1/index.html @@ -32,11 +32,11 @@ body { function onWsMessage(message) { console.log(message.data); if (message.data == "EVENT mjpg_streamer started") { - document.getElementById("stream-image").src = "/video/?action=stream&time=" + new Date().getTime(); + document.getElementById("stream-image").src = "/streamer/?action=stream&time=" + new Date().getTime(); } } -ws = new WebSocket("ws://" + location.host + "/kvm/ws"); +ws = new WebSocket("ws://" + location.host + "/kvmd/ws"); ws.onmessage = (message) => onWsMessage(message); ws.onerror = (error) => console.error(error); ws.onclose = () => console.log("closed"); |