diff options
Diffstat (limited to 'pkg/handler/router.go')
-rw-r--r-- | pkg/handler/router.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/handler/router.go b/pkg/handler/router.go index 2293ab6..6ee7ba3 100644 --- a/pkg/handler/router.go +++ b/pkg/handler/router.go @@ -41,7 +41,7 @@ func MountHandler( 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}/archive/{refs...}", gitHandler.Archive) + mux.HandleFunc("/{name}/archive/{file}", gitHandler.Archive) mux.HandleFunc("/config", configHandler) mux.HandleFunc("/about", aboutHandler.About) mux.HandleFunc("/", gitHandler.List) |