diff options
| author | Runxi Yu <me@runxiyu.org> | 2025-02-10 13:46:50 +0800 |
|---|---|---|
| committer | Runxi Yu <me@runxiyu.org> | 2025-02-10 13:46:50 +0800 |
| commit | 0a5f821f78425d97c0797803e57aa2c2d6f982da (patch) | |
| tree | 1047018864276e8b99c4375aa436ce1ff162789c /main.go | |
| parent | *.go: Linting (diff) | |
| download | forge-0a5f821f78425d97c0797803e57aa2c2d6f982da.tar.gz forge-0a5f821f78425d97c0797803e57aa2c2d6f982da.tar.zst forge-0a5f821f78425d97c0797803e57aa2c2d6f982da.zip | |
category_index: Add a repo index for each category
Diffstat (limited to '')
| -rw-r--r-- | main.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |
