aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFChannel <>2022-05-03 22:42:24 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commit493fc8e025fd613d9faf0b573d610e4a0e0c0228 (patch)
treefd7f217ca407c1aa8e584db26d0a95944c23b034 /main.go
parent328c9150228156c04d1045469c7dbcd7b5f4fedf (diff)
creating boards works
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index 5410cf1..4eb219a 100644
--- a/main.go
+++ b/main.go
@@ -50,8 +50,8 @@ func main() {
// Main actor
app.Get("/", routes.Index)
- app.Get("/inbox", routes.Inbox)
- app.Get("/outbox", routes.Outbox)
+ app.Post("/inbox", routes.Inbox)
+ app.Post("/outbox", routes.Outbox)
app.Get("/following", routes.Following)
app.Get("/followers", routes.Followers)
@@ -60,7 +60,7 @@ func main() {
app.Post("/auth", routes.AdminAuth)
app.All("/"+config.Key+"/", routes.AdminIndex)
app.Post("/"+config.Key+"/follow", routes.AdminFollow)
- app.Get("/"+config.Key+"/addboard", routes.AdminAddBoard)
+ 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)