aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 18733c4..81657cd 100644
--- a/main.go
+++ b/main.go
@@ -32,7 +32,7 @@ func main() {
}
http.HandleFunc("/{$}", handle_index)
- http.HandleFunc("/{category_name}/{$}", handle_category_index)
+ http.HandleFunc("/{category_name}/repos/{$}", handle_category_repos)
http.HandleFunc("/{category_name}/repos/{repo_name}/{$}", handle_repo_index)
http.HandleFunc("/{category_name}/repos/{repo_name}/tree/{ref}/{rest...}", handle_repo_tree)