From 11a8f2889e874ecebdbc49a6887918c7b043c503 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 12 Feb 2025 22:37:51 +0800 Subject: {ssh,global}.go, index.html: Add global data containing ssh fp --- handle_repo_raw.go | 1 + 1 file changed, 1 insertion(+) (limited to 'handle_repo_raw.go') 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, "/") -- cgit v1.2.3