aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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)