summaryrefslogtreecommitdiff
path: root/kvmd/web/js/stream.js
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/web/js/stream.js')
-rw-r--r--kvmd/web/js/stream.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/web/js/stream.js b/kvmd/web/js/stream.js
index 51372420..43b720df 100644
--- a/kvmd/web/js/stream.js
+++ b/kvmd/web/js/stream.js
@@ -27,7 +27,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/?action=snapshot", function() {
+ var http = tools.makeRequest("GET", "/streamer/snapshot", function() {
if (http.readyState === 2 || http.readyState === 4) {
var status = http.status;
http.onreadystatechange = null;
@@ -117,7 +117,7 @@ function Stream() {
__normal_size = result.size;
__applySizeFactor();
- $("stream-image").src = "/streamer/?action=stream&time=" + new Date().getTime();
+ $("stream-image").src = "/streamer/stream/" + new Date().getTime();
}
});
};