add API code for /api/packets

This commit is contained in:
Pablo Revilla
2025-08-06 13:30:41 -07:00
parent 1c49529846
commit 78f22603dd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ async def get_topic_envelopes(mqtt_server, mqtt_port, topics, mqtt_user, mqtt_pa
continue
decrypt(envelope.packet)
# print(envelope.packet.decoded)
if not envelope.packet.decoded:
continue
+1 -1
View File
@@ -103,7 +103,7 @@ document.addEventListener("DOMContentLoaded", () => {
// Start fetching updates
fetchUpdates();
setInterval(fetchUpdates, 1000);
setInterval(fetchUpdates, 3000);
});
</script>