aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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)