aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin/packages
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2024-10-10 12:56:49 +0800
committerGitHub <noreply@github.com>2024-10-10 04:56:49 +0000
commitc2217670dd7514e17fc9c1f17d7e459b842ea798 (patch)
tree01042a8c4ff3d5352cb028b70b78eddf4f0d7814 /templates/admin/packages
parentdd83cfcacc989d0e7cbd21ec5eba029fdfcb72dd (diff)
downloadgitea-c2217670dd7514e17fc9c1f17d7e459b842ea798.tar.gz
gitea-c2217670dd7514e17fc9c1f17d7e459b842ea798.zip
Move admin routers from /admin to /-/admin (#32189)
Resolve #32181 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/admin/packages')
-rw-r--r--templates/admin/packages/list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/packages/list.tmpl b/templates/admin/packages/list.tmpl
index d1d77b6220..a5ad93b89c 100644
--- a/templates/admin/packages/list.tmpl
+++ b/templates/admin/packages/list.tmpl
@@ -5,7 +5,7 @@
{{ctx.Locale.Tr "admin.packages.total_size" (FileSize .TotalBlobSize)}},
{{ctx.Locale.Tr "admin.packages.unreferenced_size" (FileSize .TotalUnreferencedBlobSize)}})
<div class="ui right">
- <form method="post" action="{{AppSubUrl}}/admin/packages/cleanup">
+ <form method="post" action="{{AppSubUrl}}/-/admin/packages/cleanup">
{{.CsrfTokenHtml}}
<button class="ui primary tiny button">{{ctx.Locale.Tr "admin.packages.cleanup"}}</button>
</form>