Update Twitter/X embed URL to use fxtwitter.com
This commit is contained in:
parent
5cdd217017
commit
36336f738f
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ function transformLinks(content: string, config: FixEmbedSettings): string {
|
|||
if (config.twitter) {
|
||||
result = result.replace(
|
||||
/https?:\/\/(?:www\.)?(twitter\.com|x\.com)(\/[^\s]+)/gi,
|
||||
"https://fxupx.com$2",
|
||||
"https://fxtwitter.com$2",
|
||||
);
|
||||
}
|
||||
// Instagram: Replace domain, keep path
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue