aboutsummaryrefslogtreecommitdiff
path: root/routes/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'routes/handler.go')
-rw-r--r--routes/handler.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/handler.go b/routes/handler.go
index bbe5e2c..2a35168 100644
--- a/routes/handler.go
+++ b/routes/handler.go
@@ -39,6 +39,7 @@ func Handlers(c *config.Config) *http.ServeMux {
mux.HandleFunc("GET /{name}/tree/{ref}/{rest...}", d.RepoTree)
mux.HandleFunc("GET /{name}/blob/{ref}/{rest...}", d.FileContent)
mux.HandleFunc("GET /{name}/log/{ref}", d.Log)
+ mux.HandleFunc("GET /{name}/archive/{file}", d.Archive)
mux.HandleFunc("GET /{name}/commit/{ref}", d.Diff)
mux.HandleFunc("GET /{name}/refs/{$}", d.Refs)
mux.HandleFunc("GET /{name}/{rest...}", d.Multiplex)