fix(server/api/repo): Fix repair webhook host (#2372) (#2452)

Backports #2372 to release 1.0

Fixes https://github.com/woodpecker-ci/woodpecker/issues/2371

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
This commit is contained in:
Matheus Moraes
2023-09-13 03:57:12 -03:00
committed by GitHub
parent 7db2c0529c
commit 010da2e174

View File

@@ -420,7 +420,7 @@ func RepairRepo(c *gin.Context) {
}
// reconstruct the link
host := server.Config.Server.Host
host := server.Config.Server.WebhookHost
link := fmt.Sprintf(
"%s/hook?access_token=%s",
host,