mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 07:07:17 +01:00
New share URL form.
This commit is contained in:
parent
543674c7f2
commit
6d1603fa28
14 changed files with 144 additions and 116 deletions
|
|
@ -198,7 +198,7 @@ export const CHART_COLORS = [
|
|||
|
||||
export const DOMAIN_REGEX =
|
||||
/^(localhost(:[1-9]\d{0,4})?|((?=[a-z0-9-_]{1,63}\.)(xn--)?[a-z0-9-_]+(-[a-z0-9-_]+)*\.)+(xn--)?[a-z0-9-_]{2,63})$/;
|
||||
export const SHARE_ID_REGEX = /^[a-zA-Z0-9]{8,16}$/;
|
||||
export const SHARE_ID_REGEX = /^[a-zA-Z0-9]{8,50}$/;
|
||||
export const DATETIME_REGEX =
|
||||
/^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{3}(Z|\+[0-9]{2}:[0-9]{2})?)?$/;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue