|
|
@ -833,7 +833,6 @@ func Routes() *web.Route {
|
|
|
|
m.Get("", activitypub.Person)
|
|
|
|
m.Get("", activitypub.Person)
|
|
|
|
m.Post("/inbox", activitypub.ReqHTTPSignature(), activitypub.PersonInbox)
|
|
|
|
m.Post("/inbox", activitypub.ReqHTTPSignature(), activitypub.PersonInbox)
|
|
|
|
}, context_service.UserIDAssignmentAPI())
|
|
|
|
}, context_service.UserIDAssignmentAPI())
|
|
|
|
// TODO: implement ctx
|
|
|
|
|
|
|
|
m.Group("/repository-id/{repository-id}", func() {
|
|
|
|
m.Group("/repository-id/{repository-id}", func() {
|
|
|
|
m.Get("", activitypub.Repository)
|
|
|
|
m.Get("", activitypub.Repository)
|
|
|
|
m.Post("/inbox", activitypub.ReqHTTPSignature(), activitypub.RepositoryInbox)
|
|
|
|
m.Post("/inbox", activitypub.ReqHTTPSignature(), activitypub.RepositoryInbox)
|
|
|
|