diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-12 22:37:51 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-12 22:37:51 +0800 |
commit | 11a8f2889e874ecebdbc49a6887918c7b043c503 (patch) | |
tree | 0ead7076fe6df7a1edf6d3a54963ae328a2f0084 /handle_repo_log.go | |
parent | README.md: Update about SSH implementation (diff) | |
download | forge-11a8f2889e874ecebdbc49a6887918c7b043c503.tar.gz forge-11a8f2889e874ecebdbc49a6887918c7b043c503.tar.zst forge-11a8f2889e874ecebdbc49a6887918c7b043c503.zip |
{ssh,global}.go, index.html: Add global data containing ssh fp
Diffstat (limited to 'handle_repo_log.go')
-rw-r--r-- | handle_repo_log.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/handle_repo_log.go b/handle_repo_log.go index 1c32862..6a3f446 100644 --- a/handle_repo_log.go +++ b/handle_repo_log.go @@ -9,6 +9,7 @@ import ( // TODO: I probably shouldn't include *all* commits here... func handle_repo_log(w http.ResponseWriter, r *http.Request, params map[string]string) { data := make(map[string]any) + data["global"] = global_data group_name, repo_name, ref_name := params["group_name"], params["repo_name"], params["ref"] data["group_name"], data["repo_name"], data["ref"] = group_name, repo_name, ref_name repo, err := open_git_repo(r.Context(), group_name, repo_name) |