diff options
| author | Runxi Yu <me@runxiyu.org> | 2025-03-22 11:28:24 +0800 |
|---|---|---|
| committer | Runxi Yu <me@runxiyu.org> | 2025-03-22 11:28:24 +0800 |
| commit | 525efdd77615a4b495ccb9868d1d3ee20ce397d7 (patch) | |
| tree | 79b128ace9cfd575869b21dd04398656fda05b0d | |
| parent | Remove the Hare migration notice (diff) | |
| download | forge-525efdd77615a4b495ccb9868d1d3ee20ce397d7.tar.gz forge-525efdd77615a4b495ccb9868d1d3ee20ce397d7.tar.zst forge-525efdd77615a4b495ccb9868d1d3ee20ce397d7.zip | |
Fix HTTPS cloning
Diffstat (limited to '')
| -rw-r--r-- | http_handle_repo_info.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/http_handle_repo_info.go b/http_handle_repo_info.go index 44689c7..abb971d 100644 --- a/http_handle_repo_info.go +++ b/http_handle_repo_info.go @@ -13,8 +13,9 @@ import ( ) func httpHandleRepoInfo(w http.ResponseWriter, r *http.Request, params map[string]any) (err error) { - var groupPath []string - var repoName, repoPath string + groupPath := params["group_path"].([]string) + repoName := params["repo_name"].(string) + var repoPath string if err := database.QueryRow(r.Context(), ` WITH RECURSIVE group_path_cte AS ( |
