mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-05 10:20:36 +02:00
fix(server/api/repo): Fix repair webhook host (#2372)
Fixes https://github.com/woodpecker-ci/woodpecker/issues/2371 Similar change to https://github.com/woodpecker-ci/woodpecker/pull/1869/files#diff-3cd73db84155aa0447a17dadc8f50271d646fcf6132606cf2ab703cc7b80eb38R113
This commit is contained in:
parent
e549f630a2
commit
85e157bb10
@ -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/api/hook?access_token=%s",
|
||||
host,
|
||||
|
Loading…
Reference in New Issue
Block a user