aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 21bc347..04fc050 100644
--- a/main.go
+++ b/main.go
@@ -60,9 +60,9 @@ func main() {
app.Get("/followers", routes.Followers)
// Admin routes
- app.Post("/verify", routes.AdminVerify)
- app.Post("/auth", routes.AdminAuth)
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.Post("/"+config.Key+"/addboard", routes.AdminAddBoard)
app.Post("/"+config.Key+"/newspost", routes.NewsPost)