Skip to content

Commit 585a9f8

Browse files
committed
feat(deploy): support MENU_ITEM customization via JSON env var in Cloudflare
1 parent 4fb1f23 commit 585a9f8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

DEPLOY_CLOUDFLARE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
| 变量名 | 描述 | 示例值 (JSON String) |
3232
| :--- | :--- | :--- |
3333
| `API_BACKENDS` | 自定义后端列表 (覆盖 `API_URL`) | `[{"name":"我的服务","url":"https://api.example.com"},{"name":"备用","url":"https://bak.example.com"}]` |
34+
| `API_BACKENDS` | 自定义后端列表 (覆盖 `API_URL`) | `[{"name":"我的服务","url":"https://api.example.com"},{"name":"备用","url":"https://bak.example.com"}]` |
3435
| `REMOTE_CONFIG` | 自定义远程配置列表 | `[{"text":"ACL4SSR","value":"https://..."},{"text":"自用","value":"https://..."}]` |
36+
| `MENU_ITEM` | 自定义顶部菜单 | `[{"title":"TG群","link":"https://t.me/...","target":"_blank"}]` |
3537

3638
配置完成后,请触发一次 **Retry deployment** 以生效。
3739

0 commit comments

Comments
 (0)