diff --git a/main.go b/main.go index 67ec073..c37fb61 100644 --- a/main.go +++ b/main.go @@ -444,6 +444,7 @@ func renderFile(w gemini.ResponseWriter, r *gemini.Request, client TreeManagerCl return } + db.Inc("page_counter." + id) pageCounter, found := db.Get("page_counter." + id) if !found { pageCounter = "1"