diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-03 18:54:56 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-03 18:54:56 +0800 |
commit | 041ec1330a999aa77b6abc71f8b6f2f5204d0017 (patch) | |
tree | 9deead3f538201d5c5e076351d7a8538dfd75085 /http_server.go | |
parent | README: Update status on patch conversions (diff) | |
download | forge-1d5f3c33eb5a6fdc10fb6b83fc871b9724956409.tar.gz forge-1d5f3c33eb5a6fdc10fb6b83fc871b9724956409.tar.zst forge-1d5f3c33eb5a6fdc10fb6b83fc871b9724956409.zip |
HTML: Add contribution guidelines in the MR tabv0.1.16
Diffstat (limited to 'http_server.go')
-rw-r--r-- | http_server.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/http_server.go b/http_server.go index 0a474cc..e234d64 100644 --- a/http_server.go +++ b/http_server.go @@ -190,6 +190,9 @@ func (router *forgeHTTPRouter) ServeHTTP(writer http.ResponseWriter, request *ht repoURLRoot = repoURLRoot + url.PathEscape(part) + "/" } params["repo_url_root"] = repoURLRoot + params["repo_patch_mailing_list"] = repoURLRoot[1:] + "@" + config.LMTP.Domain + params["http_clone_url"] = genHTTPRemoteURL(groupPath, moduleName) + params["ssh_clone_url"] = genSSHRemoteURL(groupPath, moduleName) if len(segments) == sepIndex+3 { if redirectDir(writer, request) { |