diff options
author | Devaev Maxim <[email protected]> | 2018-11-07 06:08:05 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-11-07 06:08:05 +0300 |
commit | cd24c131992384b82b481492a32cff7cc94b5e68 (patch) | |
tree | 4ab59a4c655395d91cd0d294358315f5bcbeacf3 /web | |
parent | a319320152b5a6e9fcf95867b9030e101497857a (diff) |
streamer /ping -> /state
Diffstat (limited to 'web')
-rw-r--r-- | web/js/stream.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/stream.js b/web/js/stream.js index 041176c3..d9c1e788 100644 --- a/web/js/stream.js +++ b/web/js/stream.js @@ -47,7 +47,7 @@ function Stream() { // XXX: In current implementation we don't need this event because Stream() has own state poller var __startPoller = function() { - var http = tools.makeRequest("GET", "/streamer/ping", function() { + var http = tools.makeRequest("GET", "/streamer/state", function() { if (http.readyState === 4) { var response = (http.status === 200 ? JSON.parse(http.responseText) : null); |