new snapshot api

This commit is contained in:
Devaev Maxim
2020-05-29 19:49:47 +03:00
parent a5fcafe2a5
commit 81fec121d0
6 changed files with 202 additions and 27 deletions

View File

@@ -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();