diff options
Diffstat (limited to 'routers/private/internal.go')
-rw-r--r-- | routers/private/internal.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/private/internal.go b/routers/private/internal.go index 3a48f5384d..cfbad19678 100644 --- a/routers/private/internal.go +++ b/routers/private/internal.go @@ -76,6 +76,7 @@ func CheckUnitUser(ctx *macaron.Context) { // These APIs will be invoked by internal commands for example `gitea serv` and etc. func RegisterRoutes(m *macaron.Macaron) { m.Group("/", func() { + m.Post("/ssh/authorized_keys", AuthorizedPublicKeyByContent) m.Post("/ssh/:id/update/:repoid", UpdatePublicKeyInRepo) m.Get("/hook/pre-receive/:owner/:repo", HookPreReceive) m.Get("/hook/post-receive/:owner/:repo", HookPostReceive) |