Fix: Show listener the Station ID
This commit is contained in:
parent
b10b4f390d
commit
30cbd4231a
2
app.js
2
app.js
@ -122,7 +122,7 @@ function updatePeerCount() {
|
||||
if (isBroadcasting) {
|
||||
stationInfoElement.textContent = `Station ID: ${b4a.toString(stationKey, 'hex')}\nConnected Peers: ${peerCount}`;
|
||||
} else {
|
||||
stationInfoElement.textContent = `Connected Peers: ${peerCount}`;
|
||||
stationInfoElement.textContent = `Station ID: ${b4a.toString(stationKey, 'hex')}\nConnected Peers: ${peerCount}`;
|
||||
}
|
||||
console.log(`Peer count updated: ${peerCount}`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user