fix replace in x

This commit is contained in:
2024-10-03 20:55:27 +02:00
parent 493dfcbb10
commit 8f76166fde

View File

@@ -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<String> {