From e52226c05fb54dfe41c9bc5ebc6ce1b7ded7e1fe Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Thu, 30 May 2024 17:01:38 +0200 Subject: feat: Add initial git item page --- pkg/handler/router.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/handler/router.go') diff --git a/pkg/handler/router.go b/pkg/handler/router.go index a8c9c6f..1150f2f 100644 --- a/pkg/handler/router.go +++ b/pkg/handler/router.go @@ -33,6 +33,7 @@ func MountHandler( mux.Handle("/static/", staticHandler) mux.HandleFunc("/config", configHander) mux.HandleFunc("/about", aboutHandler.About) + mux.HandleFunc("/{name}", gitHandler.Item) mux.HandleFunc("/", gitHandler.List) return mux, nil } -- cgit v1.2.3