forked from kevadesu/forgejo
Code cleanup
This commit is contained in:
parent
7658649d61
commit
6074222377
3 changed files with 7 additions and 7 deletions
|
@ -645,8 +645,10 @@ func Routes() *web.Route {
|
|||
if setting.Federation.Enabled {
|
||||
m.Get("/nodeinfo", misc.NodeInfo)
|
||||
m.Group("/activitypub", func() {
|
||||
m.Get("/user/{username}", activitypub.Person)
|
||||
m.Post("/user/{username}/inbox", activitypub.ReqSignature(), activitypub.PersonInbox)
|
||||
m.Group("/user/{username}", func() {
|
||||
m.Get("", activitypub.Person)
|
||||
m.Post("/inbox", activitypub.ReqSignature(), activitypub.PersonInbox)
|
||||
})
|
||||
})
|
||||
}
|
||||
m.Get("/signing-key.gpg", misc.SigningKey)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue