much better pattern testing

This commit is contained in:
hyperdefined 2024-07-24 21:10:36 -04:00
parent 573d97634c
commit 68d4aacffe
No known key found for this signature in database
GPG Key ID: EB0B55B31E88AB03

View File

@ -71,5 +71,7 @@ export const testers = {
|| patternMatch.id?.length <= 20, || patternMatch.id?.length <= 20,
"newgrounds": (patternMatch) => "newgrounds": (patternMatch) =>
patternMatch.id?.length <= 1, (patternMatch.type == 'portal' && patternMatch.method == 'view')
|| (patternMatch.type == 'audio' && patternMatch.method == 'listen')
&& patternMatch.id?.length >= 1,
} }