mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-14 08:16:56 +08:00
Fixed health check; Fixed dex config; Add rank trader info view;
This commit is contained in:
@@ -835,7 +835,7 @@ VITE v5.x.x ready in xxx ms
|
||||
|
||||
```bash
|
||||
# 在新终端窗口中
|
||||
curl http://localhost:8080/health
|
||||
curl http://localhost:8080/api/health
|
||||
```
|
||||
|
||||
应返回:`{"status":"ok"}`
|
||||
@@ -1042,7 +1042,7 @@ GET /api/statistics?trader_id=xxx # 统计信息
|
||||
### 系统接口
|
||||
|
||||
```bash
|
||||
GET /health # 健康检查
|
||||
GET /api/health # 健康检查
|
||||
GET /api/config # 系统配置
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user