vimeo: add support for private videos

This commit is contained in:
dumbmoron
2024-03-04 23:26:14 +00:00
parent 7420337ea2
commit 52e6a40641
5 changed files with 20 additions and 3 deletions

View File

@@ -42,7 +42,8 @@ export const testers = {
patternMatch.id?.length < 20,
"vimeo": (patternMatch) =>
patternMatch.id?.length <= 11,
patternMatch.id?.length <= 11
&& (!patternMatch.password || patternMatch.password.length < 16),
"vine": (patternMatch) =>
patternMatch.id?.length <= 12,