|
|
|
@@ -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()) |
|
|
|
|
|
|
|
|