feat: add media sources
This commit is contained in:
@@ -20,7 +20,7 @@ func (r *Router) Register() error {
|
||||
group := r.http.Engine.Group("medias")
|
||||
log.Infof("register route group: %s", group.(*fiber.Group).Prefix)
|
||||
group.Get("", r.controller.List)
|
||||
group.Get("{id}", r.controller.List)
|
||||
group.Get("{id}", r.controller.Show)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user