aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFChannel <>2022-06-14 16:43:11 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commita4621a1d4ee2c307dded842d5866ac9de76a40b4 (patch)
tree1667d5692213e5b3d11a0852793c0b4c4e021335 /main.go
parent7306338e7f23d652b6b0bfecddcee408a4227169 (diff)
set retry on fail POST req. might be pointless though
since other parts require requests that cannont be delayed
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index b1ab2e9..98fb5d7 100644
--- a/main.go
+++ b/main.go
@@ -93,6 +93,7 @@ func main() {
app.Get("/api/media", routes.Media)
// Board actor routes
+ app.Post("/post", routes.ActorPost)
app.Get("/:actor/catalog", routes.ActorCatalog)
app.Post("/:actor/inbox", routes.ActorInbox)
app.All("/:actor/outbox", routes.ActorOutbox)
@@ -100,7 +101,6 @@ func main() {
app.All("/:actor/followers", routes.ActorFollowers)
app.Get("/:actor/archive", routes.ActorArchive)
app.Get("/:actor", routes.ActorOutboxGet)
- app.Post("/:actor", routes.ActorPost)
app.Get("/:actor/:post", routes.ActorPostGet)
db.PrintAdminAuth()