summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-03-10 23:23:53 +0300
committerMaxim Devaev <[email protected]>2022-03-10 23:23:53 +0300
commit7105693b22b2950f55f19bfab75969ced5ddb89a (patch)
tree9b9dad138e4eb71847435b8c1b957744aef6ef41 /web
parent863f8edae054993ce907f6f4f501bbf36f9dd36a (diff)
fixed ocr langs parameter
Diffstat (limited to 'web')
-rw-r--r--web/share/js/kvm/ocr.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/ocr.js b/web/share/js/kvm/ocr.js
index 482e9da9..5f410d91 100644
--- a/web/share/js/kvm/ocr.js
+++ b/web/share/js/kvm/ocr.js
@@ -166,7 +166,7 @@ export function Ocr(__getGeometry) {
$("stream-ocr-led").className = "led-yellow-rotating-fast";
let lang = $("stream-ocr-lang-selector").value;
- let url = `/api/streamer/snapshot?ocr=1&ocr_lang=${lang}`;
+ let url = `/api/streamer/snapshot?ocr=1&ocr_langs=${lang}`;
url += `&ocr_left=${__selection.left}&ocr_top=${__selection.top}`;
url += `&ocr_right=${__selection.right}&ocr_bottom=${__selection.bottom}`;