瀏覽代碼

feat(browser-support): Add safari to list of optimal browsers

j8
Jaya Allamsetty 5 年之前
父節點
當前提交
4824c8714a
共有 2 個檔案被更改,包括 3 行新增2 行删除
  1. 1
    1
      interface_config.js
  2. 2
    1
      react/features/base/environment/environment.js

+ 1
- 1
interface_config.js 查看文件

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

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

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

Loading…
取消
儲存