Skip to content

Commit eae42c5

Browse files
committed
Release v2.0.3
1 parent 88a9e98 commit eae42c5

File tree

4 files changed

+345
-262
lines changed

4 files changed

+345
-262
lines changed

boardStatus.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
const ws = new WebSocket('ws://localhost:9421')
1+
const ws = new WebSocket("ws://localhost:9421");
22

33
onload = () => {
44
let image = document.getElementById("notificationImage");
55
ws.onmessage = ({ data: boardURI }) => {
6-
if (boardURI.startsWith('board-update')) {
7-
console.log('Updating Remote Board')
8-
image.src = boardURI.replace('board-update:', '');
6+
if (boardURI.startsWith("board-update")) {
7+
console.log("Updating Remote Board");
8+
image.src = boardURI.replace("board-update:", "");
99
}
10-
}
10+
};
1111

1212
document.body.style = "background-color:rgb(49, 46, 43)";
13-
}
13+
};

0 commit comments

Comments
 (0)