diff options
author | FChannel <> | 2022-05-22 13:02:48 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | 6a0f664b565716ad08301e7699d6c0393dbba977 (patch) | |
tree | f760adc388604486b9660682c629f44e6db61694 /main.go | |
parent | 580dec5b89215310ce34341e11ff17fe38bdb63a (diff) |
following pass through
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -62,11 +62,11 @@ func main() { app.Post("/verify", routes.AdminVerify) app.Post("/auth", routes.AdminAuth) app.All("/"+config.Key+"/", routes.AdminIndex) - app.Post("/"+config.Key+"/follow", routes.AdminFollow) + app.Get("/"+config.Key+"/follow", routes.AdminFollow) app.Post("/"+config.Key+"/addboard", routes.AdminAddBoard) app.Get("/"+config.Key+"/postnews", routes.AdminPostNews) app.Get("/"+config.Key+"/newsdelete", routes.AdminNewsDelete) - app.Post("/"+config.Key+"/:actor/follow", routes.AdminActorIndex) + app.All("/"+config.Key+"/:actor/follow", routes.AdminFollow) app.Get("/"+config.Key+"/:actor", routes.AdminActorIndex) app.Get("/news", routes.NewsGet) @@ -88,7 +88,7 @@ func main() { // Board actor app.Get("/:actor/catalog", routes.CatalogGet) app.Post("/:actor/inbox", routes.ActorInbox) - app.Post("/:actor/outbox", routes.ActorOutbox) + app.All("/:actor/outbox", routes.ActorOutbox) app.Get("/:actor/following", routes.ActorFollowing) app.All("/:actor/followers", routes.ActorFollowers) app.Get("/:actor/reported", routes.ActorReported) |