mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 21:57:16 +01:00
Merge pull request #3012 from ccrvlh/feat/url-pattern
feat: allow for URL pattern matching on funnels
This commit is contained in:
commit
ffd27ab202
2 changed files with 36 additions and 6 deletions
|
|
@ -31,7 +31,10 @@ const schema = {
|
|||
.of(
|
||||
yup.object().shape({
|
||||
type: yup.string().required(),
|
||||
value: yup.string().required(),
|
||||
value: yup
|
||||
.string()
|
||||
.matches(/^[a-zA-Z0-9/*-_]+$/, 'Invalid URL pattern')
|
||||
.required(),
|
||||
}),
|
||||
)
|
||||
.min(2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue