diff --git a/src/dashboard/templates/partials/timmy_panel.html b/src/dashboard/templates/partials/timmy_panel.html index f2eabe2..09a1cd1 100644 --- a/src/dashboard/templates/partials/timmy_panel.html +++ b/src/dashboard/templates/partials/timmy_panel.html @@ -142,7 +142,7 @@ function connectWs() { try { - ws = new WebSocket(protocol + '//' + window.location.host + '/ws'); + ws = new WebSocket(protocol + '//' + window.location.host + '/swarm/live'); ws.onmessage = function(event) { try { var msg = JSON.parse(event.data); diff --git a/src/dashboard/templates/tasks.html b/src/dashboard/templates/tasks.html index f60732b..234d79b 100644 --- a/src/dashboard/templates/tasks.html +++ b/src/dashboard/templates/tasks.html @@ -328,7 +328,7 @@ document.addEventListener('click', function(e) { var ws; function connectTaskWs() { try { - ws = new WebSocket(protocol + '//' + window.location.host + '/ws'); + ws = new WebSocket(protocol + '//' + window.location.host + '/swarm/live'); ws.onmessage = function(event) { try { var msg = JSON.parse(event.data);