feat: show node connection status and traffic stats in admin panel
Enable sing-box Clash/V2Ray APIs for per-user metrics, persist cumulative traffic in SQLite, and refresh the dashboard every five seconds. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -24,6 +24,9 @@ PANEL_PASSWORD=Woaini521@
|
||||
# 可选:仅允许指定 IP 访问面板(留空则不限制)
|
||||
# PANEL_ALLOW_IP=1.2.3.4
|
||||
|
||||
# sing-box Clash API 密钥(安装时自动生成,供面板读取连接状态)
|
||||
# CLASH_API_SECRET=
|
||||
|
||||
# 以下由 scripts/generate-keys.sh 自动生成,也可手动填写
|
||||
# REALITY_PRIVATE_KEY=
|
||||
# REALITY_PUBLIC_KEY=
|
||||
|
||||
Reference in New Issue
Block a user