summaryrefslogtreecommitdiffstats
path: root/routers/admin/repos.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/admin/repos.go')
-rw-r--r--routers/admin/repos.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/repos.go b/routers/admin/repos.go
index 287c294408..86a9ea9405 100644
--- a/routers/admin/repos.go
+++ b/routers/admin/repos.go
@@ -49,6 +49,6 @@ func DeleteRepo(ctx *context.Context) {
ctx.Flash.Success(ctx.Tr("repo.settings.deletion_success"))
ctx.JSON(200, map[string]interface{}{
- "redirect": setting.AppSubUrl + "/admin/repos?page=" + ctx.Query("page"),
+ "redirect": setting.AppSubURL + "/admin/repos?page=" + ctx.Query("page"),
})
}