diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-05-30 17:01:38 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-05-30 17:01:38 +0200 |
commit | e52226c05fb54dfe41c9bc5ebc6ce1b7ded7e1fe (patch) | |
tree | 9b067f810dfb9cbe6e7aabf2f7c88c77fc306531 /pkg/handler/router.go | |
parent | 242ba7f412d4e54f21385afff3f2b884f57f6ced (diff) | |
download | cerrado-e52226c05fb54dfe41c9bc5ebc6ce1b7ded7e1fe.tar.gz cerrado-e52226c05fb54dfe41c9bc5ebc6ce1b7ded7e1fe.tar.bz2 cerrado-e52226c05fb54dfe41c9bc5ebc6ce1b7ded7e1fe.zip |
feat: Add initial git item page
Diffstat (limited to 'pkg/handler/router.go')
-rw-r--r-- | pkg/handler/router.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 } |