From 35393c0b4b9730762982cca10f6fa8cfb229b4c4 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Mon, 6 Mar 2023 07:53:16 +0000 Subject: [PATCH] fix incorrect redirect link --- routers/web/org/projects.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/web/org/projects.go b/routers/web/org/projects.go index 6449d12de105a..046100c72e2f5 100644 --- a/routers/web/org/projects.go +++ b/routers/web/org/projects.go @@ -205,7 +205,7 @@ func DeleteProject(ctx *context.Context) { } ctx.JSON(http.StatusOK, map[string]interface{}{ - "redirect": ctx.Repo.RepoLink + "/projects", + "redirect": ctx.ContextUser.HomeLink() + "/-/projects", }) }