From 493fc8e025fd613d9faf0b573d610e4a0e0c0228 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Tue, 3 May 2022 22:42:24 -0700 Subject: creating boards works --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.go') 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) -- cgit v1.2.3