aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFChannel <>2022-06-05 15:14:34 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commit3ac22385f2cb2256db718e47f5ae3c6d13353b70 (patch)
tree49f12c0cc52661f1fd6661baf2f77fbd5c7f71de /main.go
parent0359d9d410b9ab597ed4a067d767ab59472b0c03 (diff)
added janny managment for admin board pages
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index c1d1483..07f633d 100644
--- a/main.go
+++ b/main.go
@@ -65,6 +65,8 @@ func main() {
app.Post("/"+config.Key+"/addboard", routes.AdminAddBoard)
app.Post("/"+config.Key+"/newspost", routes.NewsPost)
app.Get("/"+config.Key+"/newsdelete/:ts", routes.NewsDelete)
+ app.Post("/"+config.Key+"/:actor/addjanny", routes.AdminAddJanny)
+ app.Get("/"+config.Key+"/:actor/deletejanny", routes.AdminDeleteJanny)
app.All("/"+config.Key+"/:actor/follow", routes.AdminFollow)
app.Get("/"+config.Key+"/:actor", routes.AdminActorIndex)