From 7aef5ce7fcf5475f05be3c71d81c52811a8b1f3f Mon Sep 17 00:00:00 2001 From: Amolith Date: Tue, 6 Sep 2022 17:40:57 -0400 Subject: [PATCH] change default count to 15 --- root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root.go b/root.go index ab7fc1d0e18470d706c3072ce21cfcfd4efd7632..a72c7bebb36ff0082f71ce4087a2ec4df0d4c11c 100644 --- a/root.go +++ b/root.go @@ -64,7 +64,7 @@ func (m model) root(writer http.ResponseWriter, request *http.Request) { countQuery := query.Get("count") var count int if len(countQuery) == 0 { - count = 20 + count = 15 } else { count, err = strconv.Atoi(countQuery) if err != nil {