From 65553482ceb3c61122e809128b66e9ee50d94891 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sun, 3 Jul 2022 21:20:13 -0700 Subject: added key required for verify/auth routes --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.go') 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) -- cgit v1.2.3