From 041ec1330a999aa77b6abc71f8b6f2f5204d0017 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 3 Apr 2025 18:54:56 +0800 Subject: HTML: Add contribution guidelines in the MR tab --- http_server.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'http_server.go') 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) { -- cgit v1.2.3