summaryrefslogtreecommitdiffstats
path: root/docs/content
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2021-07-04 21:56:40 +0800
committerGitHub <noreply@github.com>2021-07-04 15:56:40 +0200
commit64122fe105686502d4d5606425875a6b16fa6203 (patch)
tree10f68533446281bcc2371ea51d0e6e0784256c34 /docs/content
parent760af187ba65948f22e96dafb2cc364e163ab204 (diff)
downloadgitea-64122fe105686502d4d5606425875a6b16fa6203.tar.gz
gitea-64122fe105686502d4d5606425875a6b16fa6203.zip
Fix docs assets link (#16337)
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/doc/advanced/customizing-gitea.en-us.md2
-rw-r--r--docs/content/doc/advanced/customizing-gitea.zh-cn.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/doc/advanced/customizing-gitea.en-us.md b/docs/content/doc/advanced/customizing-gitea.en-us.md
index 7a8e01d356..6a5f495805 100644
--- a/docs/content/doc/advanced/customizing-gitea.en-us.md
+++ b/docs/content/doc/advanced/customizing-gitea.en-us.md
@@ -56,7 +56,7 @@ To make Gitea serve custom public files (like pages and images), use the folder
`$GITEA_CUSTOM/public/` as the webroot. Symbolic links will be followed.
For example, a file `image.png` stored in `$GITEA_CUSTOM/public/`, can be accessed with
-the url `http://gitea.domain.tld/image.png`.
+the url `http://gitea.domain.tld/assets/image.png`.
## Changing the logo
diff --git a/docs/content/doc/advanced/customizing-gitea.zh-cn.md b/docs/content/doc/advanced/customizing-gitea.zh-cn.md
index 91762b13d9..4640f878ad 100644
--- a/docs/content/doc/advanced/customizing-gitea.zh-cn.md
+++ b/docs/content/doc/advanced/customizing-gitea.zh-cn.md
@@ -40,7 +40,7 @@ Gitea 引用 `custom` 目录中的自定义配置文件来覆盖配置、模板
将自定义的公共文件(比如页面和图片)作为 webroot 放在 `custom/public/` 中来让 Gitea 提供这些自定义内容(符号链接将被追踪)。
-举例说明:`image.png` 存放在 `custom/public/`中,那么它可以通过链接 http://gitea.domain.tld/image.png 访问。
+举例说明:`image.png` 存放在 `custom/public/`中,那么它可以通过链接 http://gitea.domain.tld/assets/image.png 访问。
## 修改默认头像