Browse Source

更新配置

李富豪 1 year ago
parent
commit
c1eda09d6d
3 changed files with 5 additions and 26 deletions
  1. 2 4
      Web/env/.env.production
  2. 2 2
      Web/env/.env.subsystem
  3. 1 20
      Web/src/api/http/config.ts

+ 2 - 4
Web/env/.env.production

@@ -2,9 +2,7 @@
 VITE_ENV = 'production'
 VITE_ENV = 'production'
 
 
 # Api 地址
 # Api 地址
-VITE_API_URL = 'https://uas.ryuiso.com'
-#VITE_API_URL = 'http://118.195.177.247:6789'
+VITE_API_URL = 'http://49.234.30.234:6789'
 
 
 # WebSocket 地址
 # WebSocket 地址
-VITE_WEBSOCKET_URL = 'wss://uas.ryuiso.com:443/api/v1/ws'
-#VITE_WEBSOCKET_URL = 'ws://118.195.177.247:6789/api/v1/ws'
+VITE_WEBSOCKET_URL = 'ws://49.234.30.234:6789/api/v1/ws'

+ 2 - 2
Web/env/.env.subsystem

@@ -2,7 +2,7 @@
 VITE_ENV = 'subsystem'
 VITE_ENV = 'subsystem'
 
 
 # Api 地址
 # Api 地址
-VITE_API_URL = 'http://49.234.30.234:6789'
+VITE_API_URL = 'https://uas.ryuiso.com'
 
 
 # WebSocket 地址
 # WebSocket 地址
-VITE_WEBSOCKET_URL = 'ws://49.234.30.234:6789/api/v1/ws'
+VITE_WEBSOCKET_URL = 'wss://uas.ryuiso.com:443/api/v1/ws'

+ 1 - 20
Web/src/api/http/config.ts

@@ -3,25 +3,6 @@ export const CURRENT_CONFIG = {
   appId: '146815',
   appId: '146815',
   appKey: '7c9e9108f2ddcbab32d2b508f452151',
   appKey: '7c9e9108f2ddcbab32d2b508f452151',
   appLicense: 'ZK7Dzih4Qc9JCZhDiyDsWJwTW+1rhnnzT1SqDxbdSPVV24bbDC4r1KNjXo7tIPBnPne7ipnXeefP0lJ0OHvxMpkKiag5lFCIndKSvYYdQkyScT3dahCXjmYsd0YyWyHj4tvXoR2DRVq1PdBHLB1iUo2FGLCIZ8QHbGyqglyGdHY=',
   appLicense: 'ZK7Dzih4Qc9JCZhDiyDsWJwTW+1rhnnzT1SqDxbdSPVV24bbDC4r1KNjXo7tIPBnPne7ipnXeefP0lJ0OHvxMpkKiag5lFCIndKSvYYdQkyScT3dahCXjmYsd0YyWyHj4tvXoR2DRVq1PdBHLB1iUo2FGLCIZ8QHbGyqglyGdHY=',
-  // 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://203.156.230.22:19350/rlive/stream_27?sign=nwo03DJb',
-  // 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: 'Please enter the server ip.',
-  gbServerPort: 'Please enter the server port.',
-  gbServerId: 'Please enter the server id.',
-  gbAgentId: 'Please enter the agent id',
-  gbPassword: 'Please enter the agent password',
-  gbAgentPort: 'Please enter the local port.',
-  gbAgentChannel: 'Please enter the channel.',*/
-  // RTSP
-  /*rtspUserName: 'Please enter the username.',
-  rtspPassword: 'Please enter the password.',
-  rtspPort: '8554',*/
-  // Agora
-  /*agoraAPPID: 'Please enter the agora app id.',
-  agoraToken: 'Please enter the agora temporary token.',
-  agoraChannel: 'Please enter the agora channel.',*/
   // 高德地图
   // 高德地图
   amapKey: '9ccf8815eb701c6aab8cd63e739df0fa',
   amapKey: '9ccf8815eb701c6aab8cd63e739df0fa',
-}
+}