浏览代码

fix: Add safari to optimal browser lists

master
Jaya Allamsetty 5 年前
父节点
当前提交
9ad87f3706
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 1
    1
      interface_config.js
  2. 2
    1
      react/features/base/environment/environment.js

+ 1
- 1
interface_config.js 查看文件

@@ -176,7 +176,7 @@ var interfaceConfig = {
176 176
     // has a suboptimal experience. Browsers which are not listed as optimal or
177 177
     // unsupported are considered suboptimal. Valid values are:
178 178
     // chrome, chromium, edge, electron, firefox, nwjs, opera, safari
179
-    OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'firefox', 'nwjs', 'electron' ],
179
+    OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'firefox', 'nwjs', 'electron', 'safari' ],
180 180
 
181 181
     // Browsers, in addition to those which do not fully support WebRTC, that
182 182
     // are not supported and should show the unsupported browser page.

+ 2
- 1
react/features/base/environment/environment.js 查看文件

@@ -9,7 +9,8 @@ const DEFAULT_OPTIMAL_BROWSERS = [
9 9
     'chrome',
10 10
     'electron',
11 11
     'firefox',
12
-    'nwjs'
12
+    'nwjs',
13
+    'safari'
13 14
 ];
14 15
 
15 16
 const DEFAULT_UNSUPPORTED_BROWSERS = [];

正在加载...
取消
保存