api/service-patterns/tiktok: allow longer shortLink

tiktok is a/b testing a new shortLink format that's ±19 characters long but behaves the same way as old format
This commit is contained in:
wukko 2025-06-28 14:45:04 +06:00
parent 900c6f27ca
commit 51c5d055ec
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -43,7 +43,7 @@ export const testers = {
pattern.id?.length <= 6,
"tiktok": pattern =>
pattern.postId?.length <= 21 || pattern.shortLink?.length <= 13,
pattern.postId?.length <= 21 || pattern.shortLink?.length <= 21,
"tumblr": pattern =>
pattern.id?.length < 21