wip
This commit is contained in:
@@ -47,7 +47,7 @@ function processMessage(message) {
|
||||
console.log(message);
|
||||
try {
|
||||
const { variable, value } = JSON.parse(message);
|
||||
const diff = calculateDiff(progvars[variable], value);
|
||||
const diff = JSON.stringify(calculateDiff(progvars[variable], value));
|
||||
send_ws_message(diff);
|
||||
progvars[variable] = value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user