From 75e25f89bd1bcfa2eb8208674327caed2790070a Mon Sep 17 00:00:00 2001
From: 胡思旗 <931347610@qq.com>
Date: Mon, 28 Aug 2023 09:26:45 +0800
Subject: [PATCH] 前端环境初步搭建
---
src/api/http/config.ts | 25 ++++++++++++++++++-------
1 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/src/api/http/config.ts b/src/api/http/config.ts
index 75cbc92..cced454 100644
--- a/src/api/http/config.ts
+++ b/src/api/http/config.ts
@@ -1,17 +1,28 @@
+/*
+ * @Author: 胡思旗 931347610@qq.com
+ * @Date: 2023-08-22 09:55:39
+ * @LastEditors: 胡思旗 931347610@qq.com
+ * @LastEditTime: 2023-08-22 14:23:46
+ * @FilePath: \Cloud-API-Demo-Web\src\api\http\config.ts
+ * @Description:
+ *
+ * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
+ */
export const CURRENT_CONFIG = {
// license
- appId: 'Please enter the app id.', // You need to go to the development website to apply.
- appKey: 'Please enter the app key.', // You need to go to the development website to apply.
+ appId: 'Please enter the app id.', // You need to go to the development website to apply.
+ appKey: 'Please enter the app key.', // You need to go to the development website to apply.
appLicense: 'Please enter the app license.', // You need to go to the development website to apply.
-
+
// http
- baseURL: 'Please enter the backend access address prefix.', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
- websocketURL: 'Please enter the WebSocket access address.', // Example: 'ws://192.168.1.1:6789/api/v1/ws'
+ baseURL: 'http://172.16.13.129:6789', // This url must end with "/". Example: 'http://192.168.1.1:6789/'
+ // ws://172.16.13.129:6789/api/v1/ws
+ websocketURL: '', // Example: 'ws://192.168.1.1: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: 'Please enter the rtmp access address.', // Example: 'rtmp://192.168.1.1/live/'
+ rtmpURL: 'Please enter the rtmp access address.', // 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: 'Please enter the server ip.',
gbServerPort: 'Please enter the server port.',
@@ -29,7 +40,7 @@
agoraToken: 'Please enter the agora temporary token.',
agoraChannel: 'Please enter the agora channel.',
- // map
+ // map
// You can apply on the AMap website.
amapKey: 'Please enter the amap key.',
--
Gitblit v1.9.3