|
|
|
@ -19,7 +19,7 @@
|
|
|
|
|
// Split the data into separate parts
|
|
|
|
|
const [node, value] = data.split(' ');
|
|
|
|
|
|
|
|
|
|
if (node === 'node4' && value === '21') {
|
|
|
|
|
if (node === 'node3' && value === '15') {
|
|
|
|
|
// Change the background color to red
|
|
|
|
|
document.body.style.backgroundColor = 'red';
|
|
|
|
|
} else {
|
|
|
|
|