From 2c2bc8614c8ea0ce386369eb4924da1e6aa052d1 Mon Sep 17 00:00:00 2001 From: husq <931347610@qq.com> Date: Wed, 27 Sep 2023 09:35:57 +0800 Subject: [PATCH] 添加环境配置区分 --- src/api/http/config.ts | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/api/http/config.ts b/src/api/http/config.ts index af48bde..d88c538 100644 --- a/src/api/http/config.ts +++ b/src/api/http/config.ts @@ -3,20 +3,21 @@ // license appId: '136971', // You need to go to the development website to apply. appKey: '3e56cb20958060caeb1071cdb32400e', // You need to go to the development website to apply. - appLicense: 'eS2rczbPpEUZZkOuek7hB1fugv3TE0RdKyEU319A2cxmVKs7Bc11RadcPcHnQJjBq/Peja5R6bp2IILCypa2lskCUGXkXHmqxdPIVTyMQpkZtjM+eXLut/VHPdXVZOvYxKFMVel6jfEyd4rWL9jBI1N34rCvwSgad6T49mRC8R0=', // You need to go to the development website to apply. - + appLicense: 'eS2rczbPpEUZZkOuek7hB1fugv3TE0RdKyEU319A2cxmVKs7Bc11RadcPcHnQJjBq/Peja5R6bp2IILCypa2lskCUGXkXHmqxdPIVTyMQpkZtjM+eXLut/VHPdXVZOvYxKFMVel6jfEyd4rWL9jBI1N34rCvwSgad6T49mRC8R0=', // You need to go to the development website to apply // http // http://172.16.13.64:8100 - baseURL: 'http://127.0.0.1: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.133:6789', // This url must end with "/". Example: 'http://192.168.1.1:6789/' + // baseURL: 'http://192.168.1.133:6789', // 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/' // ws: 'ws//127.0.0.1:6789/api/v1/ws', // ws://192.168.1.198:1883/ - websocketURL: 'ws://127.0.0.1:6789/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: 'ws://192.168.1.133: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. - rtmpURL: 'rtmp://171.34.76.175:735/uav/', // Example: 'rtmp://192.168.1.1/live/' + rtmpURL: 'rtmp://www.ainfo.top:735/uav/', // Example: 'rtmp://192.168.1.1/live/' // GB28181 Note:If you don't know what these parameters mean, you can go to Pilot2 and select the GB28181 page in the cloud platform. Where the parameters same as these parameters. // gbServerIp: '171.34.76.175', // gbServerPort: '15060', -- Gitblit v1.9.3