Skip to content
Snippets Groups Projects
Verified Commit 0bca5631 authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Zmena adresy ws

parent b71fcc1f
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,8 @@ function formatterStatus(value, row) { ...@@ -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) { ws.onmessage = function (event) {
console.log(event.data); console.log(event.data);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment