diff --git a/public/index.html b/public/index.html index d7770d5e..a0d4c61d 100644 --- a/public/index.html +++ b/public/index.html @@ -90,7 +90,7 @@ - + diff --git a/public/live.js b/public/live.js index 8c43daa1..c278177d 100644 --- a/public/live.js +++ b/public/live.js @@ -422,6 +422,7 @@ const typeName = raw.type || pkt.payload_type_name || 'UNKNOWN'; return { id: pkt.id, hash: pkt.hash, + raw: pkt.raw_hex, _ts: new Date(pkt.timestamp || pkt.created_at).getTime(), decoded: { header: { payloadTypeName: typeName }, payload: raw, path: { hops } }, snr: pkt.snr, rssi: pkt.rssi, observer: pkt.observer_name @@ -1796,7 +1797,6 @@ function addRainDrop(pkt) { if (!rainCanvas || !matrixRain) return; const rawHex = pkt.raw || pkt.raw_hex || (pkt.packet && pkt.packet.raw_hex) || ''; - console.log('[rain] pkt keys:', Object.keys(pkt), 'raw:', !!pkt.raw, 'raw_hex:', !!pkt.raw_hex, 'packet.raw_hex:', !!(pkt.packet && pkt.packet.raw_hex), 'rawHex len:', rawHex.length); if (!rawHex) return; const decoded = pkt.decoded || {}; const hops = decoded.path?.hops || [];