♻️ Move fonts and images directories in a common public on

This commit is contained in:
2024-04-12 12:49:07 +02:00
parent 77fa0c5fd5
commit 78cb65e054
49 changed files with 24 additions and 24 deletions

View File

@@ -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),