aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFChannel <>2022-07-03 21:20:13 -0700
committerFChannel <>2022-07-03 21:20:13 -0700
commit65553482ceb3c61122e809128b66e9ee50d94891 (patch)
treea4022fde6754b7fb61f66cb5a234f34977b7f1a2 /main.go
parentb0261cf6c6298f472cfca8ae75e6d01ed39b421e (diff)
added key required for verify/auth routes
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)