summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-05-29 19:49:47 +0300
committerDevaev Maxim <[email protected]>2020-05-29 19:49:47 +0300
commit81fec121d08ecea8288b5dd0e39d7ccee8ba4ee3 (patch)
tree14756d744349aec59d048068bbdd40b96aaa45e4 /web
parenta5fcafe2a5a1bd8e18df9b96e2185d1979fc9977 (diff)
new snapshot api
Diffstat (limited to 'web')
-rw-r--r--web/share/js/kvm/stream.js2
1 files changed, 1 insertions, 1 deletions
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();