Skip to content

Commit

Permalink
Merge pull request #33304 from jld3103/feature/neon-user-agent
Browse files Browse the repository at this point in the history
Add Neon user-agent
  • Loading branch information
PVince81 authored Jul 21, 2022
2 parents afedfad + 6c2ea4b commit f98251d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions apps/settings/src/components/AuthToken.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand All @@ -133,6 +135,7 @@ const nameMap = {
davx5: 'DAVx5',
webPirate: 'WebPirate',
sailfishBrowser: 'SailfishBrowser',
neon: 'Neon',
}
const iconMap = {
ie: 'icon-desktop',
Expand Down
Loading

0 comments on commit f98251d

Please sign in to comment.