From 476b9d1589248b7bca6fb0f01825bd6955318cb3 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 27 Aug 2023 19:59:12 +0800 Subject: Use docs.gitea.com instead of docs.gitea.io (#26739) --- routers/web/repo/setting/webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/web') diff --git a/routers/web/repo/setting/webhook.go b/routers/web/repo/setting/webhook.go index bbcc36ee60..33ea2c206b 100644 --- a/routers/web/repo/setting/webhook.go +++ b/routers/web/repo/setting/webhook.go @@ -44,7 +44,7 @@ func Webhooks(ctx *context.Context) { ctx.Data["PageIsSettingsHooks"] = true ctx.Data["BaseLink"] = ctx.Repo.RepoLink + "/settings/hooks" ctx.Data["BaseLinkNew"] = ctx.Repo.RepoLink + "/settings/hooks" - ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://docs.gitea.io/en-us/webhooks/") + ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://docs.gitea.com/usage/webhooks") ws, err := webhook.ListWebhooksByOpts(ctx, &webhook.ListWebhookOptions{RepoID: ctx.Repo.Repository.ID}) if err != nil { -- cgit v1.2.3