From 81fec121d08ecea8288b5dd0e39d7ccee8ba4ee3 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Fri, 29 May 2020 19:49:47 +0300 Subject: new snapshot api --- web/share/js/kvm/stream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/share') diff --git a/web/share/js/kvm/stream.js b/web/share/js/kvm/stream.js index 6ea3362e..7ea7d722 100644 --- a/web/share/js/kvm/stream.js +++ b/web/share/js/kvm/stream.js @@ -193,7 +193,7 @@ export function Streamer() { var __clickScreenshotButton = function() { let el_a = document.createElement("a"); - el_a.href = "/streamer/snapshot"; + el_a.href = "/api/streamer/snapshot?allow_offline=1"; el_a.target = "_blank"; document.body.appendChild(el_a); el_a.click(); -- cgit v1.2.3