Tidied up the UX a bit more

This commit is contained in:
James Mills
2021-02-03 21:29:18 +10:00
parent ccfbd18b29
commit 36cdbd3fc5
10 changed files with 4 additions and 242 deletions

View File

@@ -288,7 +288,6 @@ func (s *Server) initRoutes() {
s.router.GET("/about", s.PageHandler("about"))
s.router.GET("/help", s.PageHandler("help"))
s.router.GET("/privacy", s.PageHandler("privacy"))
s.router.GET("/abuse", s.PageHandler("abuse"))
s.router.GET("/", s.IndexHandler())
s.router.HEAD("/", s.IndexHandler())
@@ -329,14 +328,10 @@ func (s *Server) initRoutes() {
s.router.POST("/manage/adduser", s.AddUserHandler())
s.router.POST("/manage/deluser", s.DelUserHandler())
// Support / Report Abuse handlers
// Support
s.router.GET("/support", s.SupportHandler())
s.router.POST("/support", s.SupportHandler())
s.router.GET("/_captcha", s.CaptchaHandler())
s.router.GET("/report", s.ReportHandler())
s.router.POST("/report", s.ReportHandler())
}
// NewServer ...