From 358926278cf80189b5e1b0d0260e3924a5f71cd6 Mon Sep 17 00:00:00 2001 From: yuyuanshifu <747342561@qq.com> Date: Wed, 10 Mar 2021 16:52:56 +0800 Subject: [PATCH] view public org --- routers/routes/routes.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/routers/routes/routes.go b/routers/routes/routes.go index adc8938a9..57f563cb8 100755 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -515,6 +515,9 @@ func RegisterRoutes(m *macaron.Macaron) { m.Group("", func() { m.Get("/:username", user.Profile) + }, ignSignIn) + + m.Group("", func() { m.Get("/attachments/:uuid", repo.GetAttachment) }, reqSignIn)