mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
fix: Add support for AscDesktopEditor browser user agent
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
This commit is contained in:
parent
ebfdbf86b9
commit
cad90ac28a
1 changed files with 1 additions and 1 deletions
|
|
@ -8,5 +8,5 @@ import browserslist from 'browserslist'
|
|||
import { getUserAgentRegex } from 'browserslist-useragent-regexp'
|
||||
|
||||
// Generate a regex that matches user agents to detect incompatible browsers
|
||||
export const supportedBrowsersRegExp = getUserAgentRegex({ allowHigherVersions: true, browsers: browserslistConfig })
|
||||
export const supportedBrowsersRegExp = new RegExp(getUserAgentRegex({ allowHigherVersions: true, browsers: browserslistConfig }).source + '|AscDesktopEditor')
|
||||
export const supportedBrowsers = browserslist(browserslistConfig)
|
||||
|
|
|
|||
Loading…
Reference in a new issue