fix twitter link again

This commit is contained in:
Guillermo Roche 2024-11-02 23:56:30 +01:00
parent 8f76166fde
commit b45da0e007

View File

@ -6,7 +6,7 @@ static URLS: phf::Map<&'static str, &'static str> = phf_map! {
"www.tiktok.com" => "vxtiktok.com", "www.tiktok.com" => "vxtiktok.com",
"vm.tiktok.com" => "vxtiktok.com", "vm.tiktok.com" => "vxtiktok.com",
"https://x.com" => "https://fxtwitter.com", "https://x.com" => "https://fxtwitter.com",
"https://fxtwitter.com" => "https://fxtwitter.com", "https://twitter.com" => "https://fxtwitter.com",
}; };
pub fn filter_string(url: String, domain: String) -> Option<String> { pub fn filter_string(url: String, domain: String) -> Option<String> {