Skip to content

Commit

Permalink
Update general.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Larvan2 authored Sep 18, 2023
1 parent d219e2c commit 7aaed55
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/config/general.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,12 @@ secret: ""
可以将静态网页资源(比如 Clash-dashboard) 运行在 Clash API, 路径为 API 地址/ui

```yaml
external-ui:
ui-path: "./ui" # /path/to/ui/folder 可以为绝对路径,或者 Clash 工作目录的相对路径
ui-name: xd # /path/to/ui/folder/xd 自动合并
ui-url: "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip" #从 GitHub Pages 分支获取
external-ui: /path/to/ui/folder/ # /path/to/ui/folder 可以为绝对路径,或者 Clash 工作目录的相对路径
## **自定义外部用户界面下载地址**
```yaml
external-ui-name: xd # 合并为/path/to/ui/folder/xd
external-ui-url: "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip" #从 GitHub Pages 分支获取
```
## **缓存**
Expand Down

0 comments on commit 7aaed55

Please sign in to comment.