summaryrefslogtreecommitdiffstats
path: root/routers/repo/webhook.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/webhook.go')
-rw-r--r--routers/repo/webhook.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/routers/repo/webhook.go b/routers/repo/webhook.go
index 931ec1185f..2f798260e2 100644
--- a/routers/repo/webhook.go
+++ b/routers/repo/webhook.go
@@ -12,14 +12,14 @@ import (
"github.com/Unknwon/com"
- "github.com/go-gitea/git"
- api "github.com/go-gitea/go-sdk/gitea"
-
- "github.com/go-gitea/gitea/models"
- "github.com/go-gitea/gitea/modules/auth"
- "github.com/go-gitea/gitea/modules/base"
- "github.com/go-gitea/gitea/modules/context"
- "github.com/go-gitea/gitea/modules/setting"
+ "code.gitea.io/git"
+ api "code.gitea.io/go-sdk/gitea"
+
+ "code.gitea.io/gitea/models"
+ "code.gitea.io/gitea/modules/auth"
+ "code.gitea.io/gitea/modules/base"
+ "code.gitea.io/gitea/modules/context"
+ "code.gitea.io/gitea/modules/setting"
)
const (
@@ -32,7 +32,7 @@ func Webhooks(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("repo.settings.hooks")
ctx.Data["PageIsSettingsHooks"] = true
ctx.Data["BaseLink"] = ctx.Repo.RepoLink
- ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://godoc.org/github.com/go-gitea/go-sdk/gitea")
+ ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://godoc.org/code.gitea.io/go-sdk/gitea")
ws, err := models.GetWebhooksByRepoID(ctx.Repo.Repository.ID)
if err != nil {