aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFChannel <>2022-07-16 08:34:59 -0700
committerFChannel <>2022-07-16 08:34:59 -0700
commita22b213ddef7e86ef49366ffd6351adf0d28fcbe (patch)
treed452d54de4a1d204fc41c75d25aa7b25b500eb6d /main.go
parent6de8273150a2d8314c8c9535e4c7259602ce8047 (diff)
fixed for admin route not being able to follow local boards in menu
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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)