add trending history link to startpage

This commit is contained in:
highperfocused 2025-03-08 23:52:03 +01:00
parent 94439ee30b
commit a5d6cc7e2e

View File

@ -17,6 +17,7 @@ import (
// Cache for storing generic data like event counts
var dataCache = cache.New()
const eventCountCacheKey = "total_event_count"
const eventCountCacheDuration = 1 * time.Minute
@ -178,6 +179,7 @@ func main() {
<h1>Welcome to LUMINA Relay!</h1>
<p>Number of events stored: %d</p>
<p><a href="/stats">View Event Stats</a></p>
<p><a href="/trending/history">View Trending History</a></p>
</div>
</body>
</html>