summaryrefslogtreecommitdiffstats
path: root/routers/private
diff options
context:
space:
mode:
Diffstat (limited to 'routers/private')
-rw-r--r--routers/private/hook.go2
-rw-r--r--routers/private/internal.go2
-rw-r--r--routers/private/key.go2
-rw-r--r--routers/private/push_update.go2
-rw-r--r--routers/private/serv.go2
5 files changed, 5 insertions, 5 deletions
diff --git a/routers/private/hook.go b/routers/private/hook.go
index ee77a00321..1f6ab2f673 100644
--- a/routers/private/hook.go
+++ b/routers/private/hook.go
@@ -18,7 +18,7 @@ import (
"code.gitea.io/gitea/modules/repofiles"
"code.gitea.io/gitea/modules/util"
- macaron "gopkg.in/macaron.v1"
+ "gitea.com/macaron/macaron"
)
// HookPreReceive checks whether a individual commit is acceptable
diff --git a/routers/private/internal.go b/routers/private/internal.go
index 11cea8b4b9..3a48f5384d 100644
--- a/routers/private/internal.go
+++ b/routers/private/internal.go
@@ -11,7 +11,7 @@ import (
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/setting"
- macaron "gopkg.in/macaron.v1"
+ "gitea.com/macaron/macaron"
)
// CheckInternalToken check internal token is set
diff --git a/routers/private/key.go b/routers/private/key.go
index 8c1dbd40f1..dcf597d6ba 100644
--- a/routers/private/key.go
+++ b/routers/private/key.go
@@ -9,7 +9,7 @@ import (
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/timeutil"
- macaron "gopkg.in/macaron.v1"
+ "gitea.com/macaron/macaron"
)
// UpdatePublicKeyInRepo update public key and deploy key updates
diff --git a/routers/private/push_update.go b/routers/private/push_update.go
index 733490ce1c..42eda3178b 100644
--- a/routers/private/push_update.go
+++ b/routers/private/push_update.go
@@ -13,7 +13,7 @@ import (
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/repofiles"
- macaron "gopkg.in/macaron.v1"
+ "gitea.com/macaron/macaron"
)
// PushUpdate update public key updates
diff --git a/routers/private/serv.go b/routers/private/serv.go
index 90579a3dcc..71c0f6ea2c 100644
--- a/routers/private/serv.go
+++ b/routers/private/serv.go
@@ -15,7 +15,7 @@ import (
"code.gitea.io/gitea/modules/private"
"code.gitea.io/gitea/modules/setting"
- macaron "gopkg.in/macaron.v1"
+ "gitea.com/macaron/macaron"
)
// ServNoCommand returns information about the provided keyid