diff options
author | FChannel <> | 2022-07-16 08:34:59 -0700 |
---|---|---|
committer | FChannel <> | 2022-07-16 08:34:59 -0700 |
commit | a22b213ddef7e86ef49366ffd6351adf0d28fcbe (patch) | |
tree | d452d54de4a1d204fc41c75d25aa7b25b500eb6d | |
parent | 6de8273150a2d8314c8c9535e4c7259602ce8047 (diff) |
fixed for admin route not being able to follow local boards in menu
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |