add trending history link to startpage
This commit is contained in:
parent
94439ee30b
commit
a5d6cc7e2e
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user