From b0b8dc9b8faae8c87576cf5659c048002c9f58f4 Mon Sep 17 00:00:00 2001 From: CaoWangrenbo Date: Mon, 27 Oct 2025 17:18:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E8=A7=A6=E5=8F=91?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=99=A8=E5=9C=B0=E5=9D=80=E4=B8=BAs1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cam_web.py | 2 +- cap_trigger.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cam_web.py b/cam_web.py index 21362e4..b76301e 100644 --- a/cam_web.py +++ b/cam_web.py @@ -82,7 +82,7 @@ app.config['SECRET_KEY'] = 'your-secret-key-change-this' socketio = SocketIO(app, cors_allowed_origins="*") # 允许所有来源,生产环境请具体配置 # 初始化图像客户端 -image_client = ImageClient("tcp://81.70.22.205:7701", client_id="local") +image_client = ImageClient("tcp://175.24.228.220:7701", client_id="local") # 初始化数据库 init_db() diff --git a/cap_trigger.py b/cap_trigger.py index ec39e45..e103386 100644 --- a/cap_trigger.py +++ b/cap_trigger.py @@ -4,7 +4,7 @@ import uuid import time class ImageClient: - def __init__(self, server_address="tcp://:54321", client_id=None): + def __init__(self, server_address="tcp://s1.brisky.space:7701", client_id=None): self.server_address = server_address self.client_id = client_id or f"client_{uuid.uuid4().hex[:8]}" self.socket = None