mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 14:47:14 +01:00
Removed URL validation.
This commit is contained in:
parent
67164a72a0
commit
85a348c55d
2 changed files with 2 additions and 6 deletions
|
|
@ -31,10 +31,7 @@ const schema = {
|
|||
.of(
|
||||
yup.object().shape({
|
||||
type: yup.string().required(),
|
||||
value: yup
|
||||
.string()
|
||||
.matches(/^[a-zA-Z0-9/*-_]+$/, 'Invalid URL pattern')
|
||||
.required(),
|
||||
value: yup.string().required(),
|
||||
}),
|
||||
)
|
||||
.min(2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue