Commit 06/08/2025

This commit is contained in:
2025-08-06 09:29:14 +07:00
parent 8290418100
commit 158f3ea4c2
12 changed files with 345 additions and 23 deletions

View File

@@ -79,7 +79,7 @@ $(document).ready(function() {
function sendCommand(cmd) {
if (ws.readyState === WebSocket.OPEN) {
ws.send(cmd);
ws.send(JSON.stringify(cmd));
} else {
console.error('WebSocket is not open. Unable to send command:', JSON.stringify(cmd));
}