From a22b213ddef7e86ef49366ffd6351adf0d28fcbe Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sat, 16 Jul 2022 08:34:59 -0700 Subject: fixed for admin route not being able to follow local boards in menu --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 04fc050..f1bd790 100644 --- a/main.go +++ b/main.go @@ -63,7 +63,7 @@ func main() { app.All("/"+config.Key+"/", routes.AdminIndex) app.Post("/"+config.Key+"/verify", routes.AdminVerify) app.Post("/"+config.Key+"/auth", routes.AdminAuth) - app.Get("/"+config.Key+"/follow", routes.AdminFollow) + app.All("/"+config.Key+"/follow", routes.AdminFollow) app.Post("/"+config.Key+"/addboard", routes.AdminAddBoard) app.Post("/"+config.Key+"/newspost", routes.NewsPost) app.Get("/"+config.Key+"/newsdelete/:ts", routes.NewsDelete) -- cgit v1.2.3