Skip to content

Commit

Permalink
add app server address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
heavyrain2012 committed Sep 27, 2020
1 parent 922021b commit ba8ca14
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/js/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ export default class Config {
static VOIP_WINDOW_CLOSE_DELAY = 2;

static DEFAULT_PORTRAIT_URL = 'https://static.wildfirechat.cn/user-fallback.png';

//默认demo应用服务的端口是8888,地址配置为 http://${应用服务器地址}:8888 上线需要切换成https的地址。
//static APP_SERVER = 'http://wildfirechat.cn:8888';
static APP_SERVER = 'https://app.wildfirechat.cn';

static QR_CODE_PREFIX_PC_SESSION = "wildfirechat://pcsession/";
// turn server 配置,可以添加多个
static ICE_SERVERS = [{uri: 'turn:turn.wildfirechat.cn:3478', userName: 'wfchat', password: 'wfchat'}];
Expand Down

0 comments on commit ba8ca14

Please sign in to comment.