diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go index 049fafcaf..485d26090 100755 --- a/routers/api/v1/api.go +++ b/routers/api/v1/api.go @@ -528,10 +528,10 @@ func RegisterRoutes(m *macaron.Macaron) { m.Group("/images", func() { - m.Get("public", repo.GetPublicImages) - m.Get("custom", repo.GetCustomImages) - m.Get("star", repo.GetStarImages) - m.Get("npu", repo.GetNpuImages) + m.Get("/public", repo.GetPublicImages) + m.Get("/custom", repo.GetCustomImages) + m.Get("/star", repo.GetStarImages) + m.Get("/npu", repo.GetNpuImages) }, reqToken())