This commit is contained in:
@@ -27,7 +27,7 @@ func MediaRoutes(g *gin.Engine) {
|
||||
media.GET("/lofis", controllers.ListMediaLoFisGetHandler)
|
||||
}
|
||||
|
||||
func ProtectedRoutes(g *gin.Engine) {
|
||||
func AuthRoutes(g *gin.Engine) {
|
||||
auth := g.Group("/auth")
|
||||
auth.Use(middleware.AuthRequired)
|
||||
auth.GET("/logout", controllers.LogoutGetHandler)
|
||||
|
||||
Reference in New Issue
Block a user