diff --git a/src/rewrite_links/links_to_rewrite.rs b/src/rewrite_links/links_to_rewrite.rs index 735c2ab..6a6d9f7 100644 --- a/src/rewrite_links/links_to_rewrite.rs +++ b/src/rewrite_links/links_to_rewrite.rs @@ -5,7 +5,8 @@ use curl::easy::Easy; static URLS: phf::Map<&'static str, &'static str> = phf_map! { "www.tiktok.com" => "vxtiktok.com", "vm.tiktok.com" => "vxtiktok.com", - "x.com" => "fxtwitter.com", + "https://x.com" => "https://fxtwitter.com", + "https://fxtwitter.com" => "https://fxtwitter.com", }; pub fn filter_string(url: String, domain: String) -> Option {