anpassungen

This commit is contained in:
ChK
2026-04-22 12:17:07 +02:00
parent a634998555
commit 0ba25e10ee
6 changed files with 71 additions and 29 deletions

View File

@@ -21,7 +21,9 @@ function setupCommandForwarding(wssInput, targetUrl) {
targetSocket.on("message", (msg) => {
const data = msg.toString();
console.log("⬅️ Message from target:", data);
if (data !== "Ping") {
console.log("⬅️ Message from target:", data);
}
// Broadcast to all connected browsers
for (const client of clients) {
if (client.readyState === WebSocket.OPEN) {