Update index.ts

This commit is contained in:
OTKUSteyler 2026-05-11 11:49:22 +02:00 • committed by GitHub
parent 396fd96c22
commit 3dcb0bcf00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,7 +49,7 @@ function transformLinks(content: string, config: FixEmbedSettings): string {
if (config.tiktok) {
result = result.replace(
/https?:\/\/(?:www\.)?tiktok\.com(\/[^\s]+)/gi,
"https://embedez.com/$1",
"https://embedez.com$1",
);
// TikTok short links (vm.tiktok.com)
result = result.replace(