diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-07-19 17:22:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-19 11:22:57 +0200 |
commit | 50e14699d3951ece4b9eb3f72cb266056e799f63 (patch) | |
tree | 28422db0087248b2144d7e137de2c46957107388 /routers/web/admin | |
parent | 06df92b5af1afaedf3883c6aaf2ce9d219cbd089 (diff) | |
download | gitea-50e14699d3951ece4b9eb3f72cb266056e799f63.tar.gz gitea-50e14699d3951ece4b9eb3f72cb266056e799f63.zip |
Update path related documents (#25417)
Update WorkPath/WORK_PATH related documents, remove out-dated
information.
Remove "StaticRootPath" on the admin config display page, because few
end user really need it, it only causes misconfiguration.
![image](https://github.com/go-gitea/gitea/assets/2114189/8095afa4-da76-436b-9e89-2a92c229c01d)
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'routers/web/admin')
-rw-r--r-- | routers/web/admin/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/admin/config.go b/routers/web/admin/config.go index 1c233ae852..b7d9976815 100644 --- a/routers/web/admin/config.go +++ b/routers/web/admin/config.go @@ -120,9 +120,9 @@ func Config(ctx *context.Context) { ctx.Data["RunMode"] = util.ToTitleCase(setting.RunMode) ctx.Data["GitVersion"] = git.VersionInfo() + ctx.Data["AppDataPath"] = setting.AppDataPath ctx.Data["RepoRootPath"] = setting.RepoRootPath ctx.Data["CustomRootPath"] = setting.CustomPath - ctx.Data["StaticRootPath"] = setting.StaticRootPath ctx.Data["LogRootPath"] = setting.Log.RootPath ctx.Data["ScriptType"] = setting.ScriptType ctx.Data["ReverseProxyAuthUser"] = setting.ReverseProxyAuthUser |