diff options
author | FChannel <> | 2022-06-05 15:14:34 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | 3ac22385f2cb2256db718e47f5ae3c6d13353b70 (patch) | |
tree | 49f12c0cc52661f1fd6661baf2f77fbd5c7f71de /main.go | |
parent | 0359d9d410b9ab597ed4a067d767ab59472b0c03 (diff) |
added janny managment for admin board pages
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |