diff --git a/src/api/icons.rs b/src/api/icons.rs index f1b1ee70..9bff0162 100644 --- a/src/api/icons.rs +++ b/src/api/icons.rs @@ -265,7 +265,7 @@ enum DomainBlacklistReason { } use cached::proc_macro::cached; -#[cached(key = "String", convert = r#"{ domain.to_string() }"#, size = 16, time = 60, option = true)] +#[cached(key = "String", convert = r#"{ domain.to_string() }"#, size = 16, time = 60)] async fn check_domain_blacklist_reason(domain: &str) -> Option { // First check the blacklist regex if there is a match. // This prevents the blocked domain(s) from being leaked via a DNS lookup.