Update index.ts

This commit is contained in:
OTKUSteyler 2025-12-16 00:10:48 +01:00 • committed by GitHub
parent 5b4cc43637
commit 87cd9ab347
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,7 +54,7 @@ function transformLinks(content: string, config: FixEmbedSettings): string {
// TikTok short links (vm.tiktok.com)
result = result.replace(
/https?:\/\/vm\.tiktok\.com\/([A-Za-z0-9]+)\/?/gi,
"https://vm.tiktokez.com$1",
"https://vm.tiktokez.com/$1",
);
}
// Reddit: Replace domain, keep path