From aa9e68b96d427bedb4abd73dcc0e43453228f8e6 Mon Sep 17 00:00:00 2001 From: prplV Date: Wed, 23 Oct 2024 14:45:56 +0300 Subject: [PATCH] +data_size with counting --- thirdparty/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/index.js b/thirdparty/index.js index 3cf3446..e18965e 100644 --- a/thirdparty/index.js +++ b/thirdparty/index.js @@ -68,6 +68,7 @@ $(window).ready(function () { case 'send': return JSON.stringify({ "request_type": "0x01", + "data_size" : String(1 + 4 + 4*packet.data.split(' ').length), "additional_header": { "wrd": packet.wrd, "auto_increment": packet.inc, @@ -147,7 +148,6 @@ $(window).ready(function () { }); } - $('#connect-btn').click(function() { if (!apiIsAlive) { err_msg_conn("Cannot work without API-Server. Check its health...");