From 4ff3eee77b41466d08117970970d01be6e48ffe1 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Fri, 28 Mar 2025 19:02:30 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/pilot-h5

---
 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