summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-11-07 06:08:05 +0300
committerDevaev Maxim <[email protected]>2018-11-07 06:08:05 +0300
commitcd24c131992384b82b481492a32cff7cc94b5e68 (patch)
tree4ab59a4c655395d91cd0d294358315f5bcbeacf3 /web
parenta319320152b5a6e9fcf95867b9030e101497857a (diff)
streamer /ping -> /state
Diffstat (limited to 'web')
-rw-r--r--web/js/stream.js2
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);