♻️ Move fonts and images directories in a common public on
This commit is contained in:
@@ -147,7 +147,7 @@ async fn fetch_dicebear_svg(
|
||||
|
||||
#[cfg(feature = "desktop")]
|
||||
fn gen_placeholder_fetcher<'a>(path: &'static str) -> Box<impl Future<Output = Option<String>>> {
|
||||
let path = format!(".{}", &path);
|
||||
let path = format!("./public/{}", &path);
|
||||
Box::new(async move {
|
||||
match read_to_string(&path).await {
|
||||
Ok(content) => Some(content),
|
||||
|
Reference in New Issue
Block a user