Merge pull request #3012 from ccrvlh/feat/url-pattern

feat: allow for URL pattern matching on funnels
This commit is contained in:
Mike Cao authored and GitHub committed 2024-12-04 13:53:16 -08:00
commit ffd27ab202
2 files changed
+36 -6

No files matched your search

+4 -1
View File
@@ -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)