fix(edge): 告警上报改指 WVP 端点,修复连接失败
- CLOUD_API_URL 改为 WVP 地址 (http://124.221.55.225:18080) - 告警路径从 /admin-api/aiot/alarm/edge/* 改为 /api/ai/alert/edge/* - 适配 WVP 新增的 report/resolve 端点 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
4
.env
4
.env
@@ -1,8 +1,8 @@
|
||||
# Local debug overrides
|
||||
DEBUG_SERVER_HOST=0.0.0.0
|
||||
|
||||
# Alarm upload - cloud API URL (Service backend)
|
||||
CLOUD_API_URL=http://localhost:8000
|
||||
# Alarm upload - cloud API URL (WVP backend)
|
||||
CLOUD_API_URL=http://124.221.55.225:18080
|
||||
|
||||
# ===== 边缘设备 ID(必须与 WVP 数据库 ROI 表的 device_id 一致) =====
|
||||
EDGE_DEVICE_ID=edge
|
||||
|
||||
Reference in New Issue
Block a user