aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index c83ba10..ec1e61f 100644
--- a/main.go
+++ b/main.go
@@ -56,9 +56,9 @@ func main() {
app.Get("/followers", routes.Followers)
// Admin routes
- app.Get("/verify", routes.AdminVerify)
- app.Get("/auth", routes.AdminAuth)
- app.Get("/"+config.Key+"/", routes.AdminIndex)
+ app.Post("/verify", routes.AdminVerify)
+ app.Post("/auth", routes.AdminAuth)
+ app.All("/"+config.Key+"/", routes.AdminIndex)
app.Get("/"+config.Key+"/addboard", routes.AdminAddBoard)
app.Get("/"+config.Key+"/postnews", routes.AdminPostNews)
app.Get("/"+config.Key+"/newsdelete", routes.AdminNewsDelete)