Skip to content

Commit

Permalink
ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Larvan2 authored Sep 18, 2023
1 parent 8ced993 commit d219e2c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/config/general.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,11 @@ secret: ""

可以将静态网页资源(比如 Clash-dashboard) 运行在 Clash API, 路径为 API 地址/ui

可以为绝对路径,或者 Clash 工作目录的相对路径

```yaml
external-ui: dashboard
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 分支获取
```

## **缓存**
Expand Down

0 comments on commit d219e2c

Please sign in to comment.