From e9c5da455e223c6463b8d64d5663221b19ceb297 Mon Sep 17 00:00:00 2001 From: chenyao <1219716595@qq.com> Date: Sat, 15 Mar 2025 11:09:16 +0800 Subject: [PATCH] 更新二代机控制台和分享功能 --- src/mqtt/config.ts | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mqtt/config.ts b/src/mqtt/config.ts index 44edae5..d67c586 100644 --- a/src/mqtt/config.ts +++ b/src/mqtt/config.ts @@ -15,11 +15,11 @@ resubscribe: true, // 断开重连后,再次订阅原订阅 reconnectPeriod: 10000, // 重连间隔时间: 5s keepalive: 5, // 心跳间隔时间:1s - clientId: window?.globalApiConfig?.mqttConfig?.clientId || 'DroneWeb', - username: window?.globalApiConfig?.mqttConfig?.username || 'root', - password: window?.globalApiConfig?.mqttConfig?.password || 'root', - host: window?.globalApiConfig?.mqttConfig?.host || '139.196.74.78', - protocol: window?.globalApiConfig?.mqttConfig?.protocol || 'wss', + clientId: 'DroneWeb', + username: 'root', + password: 'root', + host: 'dev.jxpskj.com', + protocol: 'wss', // 8083 - port: window?.globalApiConfig?.mqttConfig?.port || 8084, + port: 8084, } -- Gitblit v1.9.3