Skip to content

Commit f98251d

Browse files
authored
Merge pull request #33304 from jld3103/feature/neon-user-agent
Add Neon user-agent
2 parents afedfad + 6c2ea4b commit f98251d

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

apps/settings/src/components/AuthToken.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ const userAgentMap = {
116116
webPirate: /(Sailfish).*WebPirate\/(\d+)/,
117117
// Mozilla/5.0 (Maemo; Linux; U; Jolla; Sailfish; Mobile; rv:31.0) Gecko/31.0 Firefox/31.0 SailfishBrowser/1.0
118118
sailfishBrowser: /(Sailfish).*SailfishBrowser\/(\d+)/,
119+
// Neon 1.0.0+1
120+
neon: /Neon \d+\.\d+\.\d+\+\d+/,
119121
}
120122
const nameMap = {
121123
ie: t('setting', 'Internet Explorer'),
@@ -133,6 +135,7 @@ const nameMap = {
133135
davx5: 'DAVx5',
134136
webPirate: 'WebPirate',
135137
sailfishBrowser: 'SailfishBrowser',
138+
neon: 'Neon',
136139
}
137140
const iconMap = {
138141
ie: 'icon-desktop',

0 commit comments

Comments
 (0)