aboutsummaryrefslogtreecommitdiff
path: root/router_http.go
diff options
context:
space:
mode:
Diffstat (limited to 'router_http.go')
-rw-r--r--router_http.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/router_http.go b/router_http.go
index 754cf10..9b42e9b 100644
--- a/router_http.go
+++ b/router_http.go
@@ -83,6 +83,8 @@ func (router *http_router_t) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
repo_feature := segments[separator_index+3]
switch repo_feature {
+ case "info":
+ handle_repo_info(w, r, params)
case "tree":
params["rest"] = strings.Join(segments[separator_index+4:], "/")
handle_repo_tree(w, r, params)