aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-10 20:01:09 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-10 20:01:09 +0800
commitd0cf88cfc3d2c328f9e398ba94a770141f3a7be4 (patch)
tree8734557044fa622fdc71290453484429746fe3ed /main.go
parentrepo_{index,tree_dir}.html, style.css: Darker table title row (diff)
downloadforge-d0cf88cfc3d2c328f9e398ba94a770141f3a7be4.tar.gz
forge-d0cf88cfc3d2c328f9e398ba94a770141f3a7be4.tar.zst
forge-d0cf88cfc3d2c328f9e398ba94a770141f3a7be4.zip
category_index -> category_repos
Diffstat (limited to 'main.go')
-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)