diff options
Diffstat (limited to 'pkg/handler/router.go')
-rw-r--r-- | pkg/handler/router.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/handler/router.go b/pkg/handler/router.go index 3da812f..c8f8984 100644 --- a/pkg/handler/router.go +++ b/pkg/handler/router.go @@ -36,11 +36,11 @@ func MountHandler( mux.HandleFunc("/static/{file}", staticHandler) mux.HandleFunc("/{name}/about/{$}", gitHandler.About) - mux.HandleFunc("/{name}", gitHandler.Summary) + mux.HandleFunc("/{name}/", gitHandler.Summary) mux.HandleFunc("/{name}/refs/{$}", gitHandler.Refs) mux.HandleFunc("/{name}/tree/{ref}/{rest...}", gitHandler.Tree) mux.HandleFunc("/{name}/blob/{ref}/{rest...}", gitHandler.Blob) - mux.HandleFunc("/{name}/log/{ref}", gitHandler.Log) + mux.HandleFunc("/{name}/log/{ref}/", gitHandler.Log) mux.HandleFunc("/config", configHandler) mux.HandleFunc("/about", aboutHandler.About) mux.HandleFunc("/", gitHandler.List) |