From 0a5f821f78425d97c0797803e57aa2c2d6f982da Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 13:46:50 +0800 Subject: category_index: Add a repo index for each category --- main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'main.go') diff --git a/main.go b/main.go index 8f9482d..b144b52 100644 --- a/main.go +++ b/main.go @@ -32,6 +32,7 @@ func main() { } http.HandleFunc("/{$}", handle_index) + http.HandleFunc("/{project_name}/{$}", handle_category_index) http.HandleFunc("/{project_name}/repos/{repo_name}/{$}", handle_repo_index) http.HandleFunc("/{project_name}/repos/{repo_name}/tree/{ref}/{rest...}", handle_repo_tree) -- cgit v1.2.3