anpassungen
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user