Skip to content

Commit 64122fe

Browse files
authored
Fix docs assets link (#16337)
1 parent 760af18 commit 64122fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/content/doc/advanced/customizing-gitea.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ To make Gitea serve custom public files (like pages and images), use the folder
5656
`$GITEA_CUSTOM/public/` as the webroot. Symbolic links will be followed.
5757

5858
For example, a file `image.png` stored in `$GITEA_CUSTOM/public/`, can be accessed with
59-
the url `http://gitea.domain.tld/image.png`.
59+
the url `http://gitea.domain.tld/assets/image.png`.
6060

6161
## Changing the logo
6262

docs/content/doc/advanced/customizing-gitea.zh-cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Gitea 引用 `custom` 目录中的自定义配置文件来覆盖配置、模板
4040

4141
将自定义的公共文件(比如页面和图片)作为 webroot 放在 `custom/public/` 中来让 Gitea 提供这些自定义内容(符号链接将被追踪)。
4242

43-
举例说明:`image.png` 存放在 `custom/public/`中,那么它可以通过链接 http://gitea.domain.tld/image.png 访问。
43+
举例说明:`image.png` 存放在 `custom/public/`中,那么它可以通过链接 http://gitea.domain.tld/assets/image.png 访问。
4444

4545
## 修改默认头像
4646

0 commit comments

Comments
 (0)