From cbb0dafad526128d10ff5f4859a1990132e4f75e Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Wed, 21 Jan 2026 00:40:17 -0500 Subject: Clean up the example site a touch and make a quick pass on the config load errors --- cmd/server/handlers.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmd/server/handlers.go') diff --git a/cmd/server/handlers.go b/cmd/server/handlers.go index e6d2203..49f2039 100644 --- a/cmd/server/handlers.go +++ b/cmd/server/handlers.go @@ -4,6 +4,7 @@ import ( "net/http" "path/filepath" "strings" + "fmt" "riedstra.dev/mitch/go-website/mapcache" "riedstra.dev/mitch/go-website/page" @@ -55,6 +56,8 @@ func (a *App) Handler() http.Handler { } for _, r := range cacheableRoutes { + fmt.Printf("Calling mux.Handle(r.path(%s), cacheHandler(r.handler(%v)))\n", + r.path, r.handler) mux.Handle(r.path, cacheHandler(r.handler)) } -- cgit v1.2.3