mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 01:00:50 -04:00
Merge pull request #33304 from jld3103/feature/neon-user-agent
Add Neon user-agent
This commit is contained in:
commit
f98251d2c3
3 changed files with 6 additions and 3 deletions
|
|
@ -116,6 +116,8 @@ const userAgentMap = {
|
|||
webPirate: /(Sailfish).*WebPirate\/(\d+)/,
|
||||
// Mozilla/5.0 (Maemo; Linux; U; Jolla; Sailfish; Mobile; rv:31.0) Gecko/31.0 Firefox/31.0 SailfishBrowser/1.0
|
||||
sailfishBrowser: /(Sailfish).*SailfishBrowser\/(\d+)/,
|
||||
// Neon 1.0.0+1
|
||||
neon: /Neon \d+\.\d+\.\d+\+\d+/,
|
||||
}
|
||||
const nameMap = {
|
||||
ie: t('setting', 'Internet Explorer'),
|
||||
|
|
@ -133,6 +135,7 @@ const nameMap = {
|
|||
davx5: 'DAVx5',
|
||||
webPirate: 'WebPirate',
|
||||
sailfishBrowser: 'SailfishBrowser',
|
||||
neon: 'Neon',
|
||||
}
|
||||
const iconMap = {
|
||||
ie: 'icon-desktop',
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue