api: add support for newgrounds
closes #620, replaces #1368 Co-authored-by: hyperdefined <contact@hyper.lol>
This commit is contained in:
@@ -79,4 +79,7 @@ export const testers = {
|
||||
"xiaohongshu": pattern =>
|
||||
pattern.id?.length <= 24 && pattern.token?.length <= 64
|
||||
|| pattern.shareId?.length <= 24,
|
||||
|
||||
"newgrounds": pattern =>
|
||||
pattern.id?.length <= 12 || pattern.audioId?.length <= 12,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user