icons and logos
This commit is contained in:
+6
-1
@@ -60,7 +60,12 @@ pub fn render_html(
|
||||
"false"
|
||||
},
|
||||
)
|
||||
.replace("</head>", &format!("{frontend_config}</head>"));
|
||||
.replace(
|
||||
"</head>",
|
||||
&format!(
|
||||
r#"<link rel="icon" href="/favicon.svg" type="image/svg+xml"><link rel="icon" href="/favicon.ico" sizes="any"><link rel="icon" href="/favicon-32.png" type="image/png" sizes="32x32"><link rel="apple-touch-icon" href="/apple-touch-icon.png">{frontend_config}</head>"#
|
||||
),
|
||||
);
|
||||
|
||||
let mut response = Html(html).into_response();
|
||||
response.headers_mut().insert(
|
||||
|
||||
Reference in New Issue
Block a user