diff --git a/BotNet.Services/SocialLink/SocialLinkEmbedFixer.cs b/BotNet.Services/SocialLink/SocialLinkEmbedFixer.cs index 29e7a40..56d03a7 100644 --- a/BotNet.Services/SocialLink/SocialLinkEmbedFixer.cs +++ b/BotNet.Services/SocialLink/SocialLinkEmbedFixer.cs @@ -7,7 +7,7 @@ public partial class SocialLinkEmbedFixer { public static Uri Fix(Uri link) { string url = link.ToString(); string newUrl = link.Host switch { - "twitter.com" => url.Replace("twitter.com", "vxtwitter.com"), + "twitter.com" => url.Replace("//twitter.com/", "//vxtwitter.com/"), "www.twitter.com" => url.Replace("twitter.com", "vxtwitter.com"), "x.com" => url.Replace("x.com", "vxtwitter.com"), "www.x.com" => url.Replace("x.com", "vxtwitter.com"),