Update index.ts
This commit is contained in:
parent
4c9fc328db
commit
6cbd9a1b95
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue