Add global inbox, move announce

This commit is contained in:
Melody Becker 2025-07-07 12:40:37 +02:00
parent 7ac4c628b8
commit 72e1c67488
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI
4 changed files with 229 additions and 33 deletions

View file

@ -20,5 +20,6 @@ func BuildActivitypubRouter() http.Handler {
router.HandleFunc("GET /note/{id}", objectNote)
router.HandleFunc("GET /note/{id}/reactions", noteReactions)
router.HandleFunc("GET /emote/{id}", objectEmote)
router.HandleFunc("POST /inbox", globalInbox)
return router
}