mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
streamer /ping -> /state
This commit is contained in:
parent
a319320152
commit
cd24c13199
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user