mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 06:08:46 -04:00
Add Neon user-agent
Signed-off-by: jld3103 <jld3103yt@gmail.com>
This commit is contained in:
parent
afedfad499
commit
6c2ea4b29c
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