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_raw.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 '')
-rw-r--r-- | handle_repo_raw.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/handle_repo_raw.go b/handle_repo_raw.go index 4cf7d1a..24b5794 100644 --- a/handle_repo_raw.go +++ b/handle_repo_raw.go @@ -11,6 +11,7 @@ import ( func handle_repo_raw(w http.ResponseWriter, r *http.Request, params map[string]string) { data := make(map[string]any) + data["global"] = global_data raw_path_spec := params["rest"] group_name, repo_name, path_spec := params["group_name"], params["repo_name"], strings.TrimSuffix(raw_path_spec, "/") |