Skip to content

Commit 9c9d144

Browse files
committed
Support 'shengwang.cn' domain
1 parent 18214e0 commit 9c9d144

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Flat/EnvConfigs/Release.xcconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
// Configuration settings file format documentation can be found at:
1111
// https://help.apple.com/xcode/#/dev745c5c974
1212

13-
API_URL = flat-api.whiteboard.agora.io
14-
FLAT_WEB_BASE_URL = flat-web.whiteboard.agora.io
13+
API_URL = api.flat.shengwang.cn
14+
FLAT_WEB_BASE_URL = web.flat.shengwang.cn
1515
GITHUB_CLIENT_ID = 71a29285a437998bdfe0
1616
GOOGLE_CLIENT_ID = 273996094508-2rpraucen77a1o5dul5ftrua5k3og157.apps.googleusercontent.com
1717
WECHAT_APP_ID = wx09437693798bc108
@@ -29,7 +29,7 @@ APP_UPDATE_SOURCE = flat-storage.oss-cn-hangzhou.aliyuncs.com/versions/latest/st
2929
FORCE_BIND_PHONE = 1
3030
PREFER_PHONE_ACCOUNT = 1
3131
DISABLE_LOGIN_TYPES = google
32-
SERVER_GROUP = [{"classroomInviteCode": 1, "apiURL": "flat-api.whiteboard.agora.io", "classroomUUIDPrefix": "CN-"},{"classroomInviteCode": 2, "apiURL": "api.flat.agora.io", "classroomUUIDPrefix": "SG-"}]
32+
SERVER_GROUP = [{"classroomInviteCode": 1, "apiURL": "api.flat.shengwang.cn", "classroomUUIDPrefix": "CN-"},{"classroomInviteCode": 2, "apiURL": "api.flat.agora.io", "classroomUUIDPrefix": "SG-"}]
3333
PHOTOS_ACCESS_ALERT = 访问相册用于上传课件或更新头像
3434
MIC_ACCESS_ALERT = 需要使用麦克风进行语音通话
3535
CAMERA_ACCESS_ALERT = 需要使用相机来进行视频通话

Flat/FlatRelease.entitlements

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
<array>
1111
<string>applinks:flat-api.whiteboard.agora.io</string>
1212
<string>applinks:flat-web.whiteboard.agora.io</string>
13+
<string>applinks:api.flat.shengwang.cn</string>
14+
<string>applinks:web.flat.shengwang.cn</string>
1315
</array>
1416
</dict>
1517
</plist>

0 commit comments

Comments
 (0)