diff --git a/templates/streams.html.ep b/templates/streams.html.ep index 3452913a88ece30ba627fc755f5ab4333b3f2f53..89bebe4a9d8046d844599ee1dd441c6e301320e2 100644 --- a/templates/streams.html.ep +++ b/templates/streams.html.ep @@ -59,7 +59,8 @@ function formatterStatus(value, row) { } } -var ws = new WebSocket('<%= $c->config->{ws_url} %>/streams'); +var ws = new WebSocket('<%= $c->config->{ws_url} %>'); + ws.onmessage = function (event) { console.log(event.data);