mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Update device filtering.
This commit is contained in:
parent
e17c9da3d5
commit
9d09d89aef
5 changed files with 32 additions and 26 deletions
|
|
@ -1,6 +1,7 @@
|
|||
export const AUTH_COOKIE_NAME = 'umami.auth';
|
||||
|
||||
export const DESKTOP_SCREEN_WIDTH = 1920;
|
||||
export const LAPTOP_SCREEN_WIDTH = 1024;
|
||||
export const MOBILE_SCREEN_WIDTH = 479;
|
||||
|
||||
export const OPERATING_SYSTEMS = [
|
||||
|
|
@ -56,6 +57,13 @@ export const DESKTOP_OS = [
|
|||
|
||||
export const MOBILE_OS = ['iOS', 'Android OS', 'BlackBerry OS', 'Windows Mobile', 'Amazon OS'];
|
||||
|
||||
export const DEVICES = {
|
||||
desktop: 'Desktop',
|
||||
laptop: 'Laptop',
|
||||
tablet: 'Tablet',
|
||||
mobile: 'Mobile',
|
||||
};
|
||||
|
||||
export const BROWSERS = {
|
||||
aol: 'AOL',
|
||||
edge: 'Edge',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue