mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
streamer /ping -> /state
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user