mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 00:27:11 +01:00
Domain validation. Filter domain from referrers.
This commit is contained in:
parent
a9765c7ea7
commit
5a4cde854a
13 changed files with 51 additions and 23 deletions
|
|
@ -1,5 +1,7 @@
|
|||
export const AUTH_COOKIE_NAME = 'umami.auth';
|
||||
|
||||
export const DOMAIN_REGEX = /(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]/;
|
||||
|
||||
export const DESKTOP_SCREEN_WIDTH = 1920;
|
||||
export const LAPTOP_SCREEN_WIDTH = 1024;
|
||||
export const MOBILE_SCREEN_WIDTH = 479;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue