From 8a8d7dc81931376ebbe1a809538111ed8eab5d70 Mon Sep 17 00:00:00 2001 From: Arnas Udovic Date: Thu, 18 Jul 2024 21:37:55 +0300 Subject: [PATCH] forgot page inc --- main.go | 1 + 1 file changed, 1 insertion(+) 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"