From 53c5733ba9f31f2158102017e2188ccb1283d675 Mon Sep 17 00:00:00 2001 From: ychao_1983 Date: Mon, 17 Oct 2022 17:40:07 +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/routes/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/routes/routes.go b/routers/routes/routes.go index eff1725fc..4d4dbbec1 100755 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -349,7 +349,7 @@ func RegisterRoutes(m *macaron.Macaron) { m.Get("/home/term", routers.HomeTerm) m.Get("/home/privacy", routers.HomePrivacy) m.Get("/extension/tuomin/upload", modelapp.ProcessImageUI) - m.Post("/extension/tuomin/upload", modelapp.ProcessImage) + m.Post("/extension/tuomin/upload", reqSignIn, modelapp.ProcessImage) m.Group("/explore", func() { m.Get("", func(ctx *context.Context) { ctx.Redirect(setting.AppSubURL + "/explore/repos")