From aebf10de3b631f452600a5b31c1f43c1bbf8bdf2 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Thu, 16 Jun 2022 12:39:41 -0700 Subject: fixed query to actor/outbox --- main.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 3efb9ff..d362244 100644 --- a/main.go +++ b/main.go @@ -93,15 +93,16 @@ func main() { app.Get("/api/media", routes.Media) // Board actor routes - app.Post("/post", routes.ActorPost) + app.Post("/post", routes.MakeActorPost) app.Get("/:actor/catalog", routes.ActorCatalog) app.Post("/:actor/inbox", routes.ActorInbox) - app.All("/:actor/outbox", routes.ActorOutbox) + app.Get("/:actor/outbox", routes.GetActorOutbox) + app.Post("/:actor/outbox", routes.PostActorOutbox) app.Get("/:actor/following", routes.ActorFollowing) - app.All("/:actor/followers", routes.ActorFollowers) + app.Get("/:actor/followers", routes.ActorFollowers) app.Get("/:actor/archive", routes.ActorArchive) - app.Get("/:actor", routes.ActorOutboxGet) - app.Get("/:actor/:post", routes.ActorPostGet) + app.Get("/:actor", routes.ActorPosts) + app.Get("/:actor/:post", routes.ActorPost) db.PrintAdminAuth() -- cgit v1.2.3