diff options
Diffstat (limited to 'routers/api/v1/api.go')
-rw-r--r-- | routers/api/v1/api.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go index 4eeefface..bc791bcff 100644 --- a/routers/api/v1/api.go +++ b/routers/api/v1/api.go @@ -603,6 +603,9 @@ func Routes(sessioner func(http.Handler) http.Handler) *web.Route { m.Get("", activitypub.Person) }) m.Post("/user/{username}/inbox", activitypub.ReqSignature(), activitypub.PersonInbox) + m.Group("/repos/{username}/{reponame}", func() { + m.Get("", activitypub.Repository) + }, repoAssignment()) }) } m.Get("/signing-key.gpg", misc.SigningKey) |