From 35190a1fbda7ad9b3147810c6f4fa3e3c3829391 Mon Sep 17 00:00:00 2001
From: xieb <vip_xiaobin810@163.com>
Date: Tue, 19 Sep 2023 09:41:43 +0800
Subject: [PATCH] 环境配置

---
 src/mqtt/config.ts     |    8 ++++----
 src/api/http/config.ts |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/api/http/config.ts b/src/api/http/config.ts
index 4e5a9c0..0fa0bcd 100644
--- a/src/api/http/config.ts
+++ b/src/api/http/config.ts
@@ -7,12 +7,12 @@
 
   // http
   // http://172.16.13.64:8100
-  baseURL: 'http://192.168.1.198:6789', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
-  // baseURL: 'https://dev.jxpskj.com:36789', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
+  // baseURL: 'http://192.168.1.198:6789', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
+  baseURL: 'https://dev.jxpskj.com:36789', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
   // ws: 'ws//127.0.0.1:6789/api/v1/ws',
   // ws://192.168.1.198:1883/
-  websocketURL: 'ws://192.168.1.198:6789/api/v1/ws', // Example: 'ws://192.168.1.198:6789/api/v1/ws'
-  // websocketURL: 'wss://dev.jxpskj.com:36789/api/v1/ws', // Example: 'ws://192.168.1.198:6789/api/v1/ws'
+  // websocketURL: 'ws://192.168.1.198:6789/api/v1/ws', // Example: 'ws://192.168.1.198:6789/api/v1/ws'
+  websocketURL: 'wss://dev.jxpskj.com:36789/api/v1/ws', // Example: 'ws://192.168.1.198:6789/api/v1/ws'
 
   // livestreaming
   // RTMP  Note: This IP is the address of the streaming server. If you want to see livestream on web page, you need to convert the RTMP stream to WebRTC stream.
diff --git a/src/mqtt/config.ts b/src/mqtt/config.ts
index bc8f71d..7f3e5bf 100644
--- a/src/mqtt/config.ts
+++ b/src/mqtt/config.ts
@@ -9,9 +9,9 @@
   reconnectPeriod: 10000, // 重连间隔时间: 5s
   keepalive: 1, // 心跳间隔时间:1s
   clientId: 'DroneWeb',
-  // username: 'guest',
-  // password: 'guest',
-  host: '192.168.1.198',
+  username: 'root',
+  password: 'root',
+  host: '182.106.212.58',
   protocol: 'ws',
-  port: 8083,
+  port: 35675,
 }

--
Gitblit v1.9.3