From 0cd36f95056c759cdc072970a2e527db4075f411 Mon Sep 17 00:00:00 2001 From: ychao_1983 Date: Wed, 2 Nov 2022 14:35:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routers/api/v1/api.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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())