diff --git a/meshview/templates/map.html b/meshview/templates/map.html
index 3ff2ec4..e284b7d 100644
--- a/meshview/templates/map.html
+++ b/meshview/templates/map.html
@@ -302,7 +302,7 @@ function blinkNode(marker, longName, portnum) {
function fetchNewPackets() {
if (!lastFetchTime) return;
- fetch(`/api/packets?limit=5&since=${lastFetchTime}`)
+ fetch(`/api/packets?since=${lastFetchTime}`)
.then(res => res.json())
.then(data => {
if (!data.packets || data.packets.length === 0) return;
@@ -326,6 +326,7 @@ let packetInterval = null;
function startPacketFetcher() {
if (!packetInterval) {
+ fetchLatestPacket();
packetInterval = setInterval(fetchNewPackets, 1000);
console.log("Packet fetching started");
}