diff --git a/server/http.go b/server/http.go index c691291..10ccea4 100644 --- a/server/http.go +++ b/server/http.go @@ -48,7 +48,6 @@ func (h *Handler) LoadRoutes(router *gin.Engine) { api := router.Group("/api/v1") anonymous := api.Group("/user") - anonymous.GET("/login", func(c *gin.Context) { c.Redirect(http.StatusPermanentRedirect, "/login") }) anonymous.POST("/login", h.loginPost) anonymous.POST("/register", h.registerPost)