Skip to content

Commit e63d03a

Browse files
committed
add: 支持leancloud自定义域名
1 parent 354388b commit e63d03a

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

js/admin.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
AV.init({
22
appId: AVAPPID,
33
appKey: AVAPPKEY,
4+
serverURLs: AVAPPURL,
45
});
56

67
function admin() {

js/app.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
AV.init({
55
appId: AVAPPID,
66
appKey: AVAPPKEY,
7+
serverURLs: AVAPPURL,
78
});
89
const Room = AV.Object.extend('Room');
910
const RoomUser = AV.Object.extend("RoomUser");

js/config.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
const AVAPPID = ""
22
const AVAPPKEY = ""
3+
const AVAPPURL = ""
4+
35
const BASEURL = "https://neshouse.com/"
46
const DEFAULT_TEXT = "Please contact <a href='mailto:bestony@linux.com'>bestony@linux.com</a> to learn more."
57
const AGORAAPPID = ""

0 commit comments

Comments
 (0)