mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-10 00:26:14 +02:00
fix: correct repo/attatchment absolute url and release layout (#39178)
This commit is contained in:
1 parent
fc9800b383
commit
4875bb3b2b
21 files changed
+72
-80
No files matched your search
@@ -679,7 +679,7 @@ func TestWebhook(ctx *context.Context) {
|
||||
apiCommit := &api.PayloadCommit{
|
||||
ID: commit.ID.String(),
|
||||
Message: commit.MessageUTF8(),
|
||||
URL: ctx.Repo.Repository.HTMLURL() + "/commit/" + url.PathEscape(commit.ID.String()),
|
||||
URL: ctx.Repo.Repository.HTMLURL(ctx) + "/commit/" + url.PathEscape(commit.ID.String()),
|
||||
Author: &api.PayloadUser{
|
||||
Name: commit.Author.Name,
|
||||
Email: commit.Author.Email,
|
||||
|
||||
Reference in new issue
Block a user