fix: 修正触发服务器地址为s1
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user